diff options
author | Étienne Simon <esimon@esimon.eu> | 2015-07-14 14:47:45 +0000 |
---|---|---|
committer | Étienne Simon <esimon@esimon.eu> | 2015-07-14 14:47:45 +0000 |
commit | 2c71011b157e707b3e0b85c348d32a1c08543fa0 (patch) | |
tree | 550f995cfee553ce344e00efea0b08cd12f08ab4 | |
parent | c3e374a8a1294727ffa22ad56fda21c18a96c638 (diff) | |
download | taxi-2c71011b157e707b3e0b85c348d32a1c08543fa0.tar.gz taxi-2c71011b157e707b3e0b85c348d32a1c08543fa0.zip |
oups
-rwxr-xr-x | prepare.sh | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -47,14 +47,13 @@ md5_check(){ exit 1 fi if command -v md5 >/dev/null 2>&1; then - md5cmd=md5 + md5=`md5 "$TAXI_PATH/$1" | sed -e 's/^.* //'` elif command -v md5sum >/dev/null 2>&1; then - md5cmd=md5sum + md5=`md5sum "$TAXI_PATH/$1" | sed -e 's/^.* //'` else echo "${RED} no md5 utility" return fi - md5=`$md5cmd "$TAXI_PATH/$1" | sed -e 's/^.* //'` if [ $md5 = $2 ]; then echo "$GREEN$md5 ok" else |