rewrite decryption logic

This commit is contained in:
Yuxin Wu
2020-06-27 01:45:15 -07:00
parent a82bd281a7
commit 0f97ecc9f0
3 changed files with 15 additions and 56 deletions
-1
View File
@@ -1 +0,0 @@
../compatibility.sh
+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash -e
# $File: compatibility.sh
# $Date: Tue Jun 16 22:23:36 2015 +0800
# Author: Vury Leo <i[at]vuryleo[dot]com>
if [ `uname` = 'Darwin' ]; then
GREP='grep -E'
MD5SUM='md5'
else
GREP='grep -E'
MD5SUM='md5sum'
fi