diff options
author | Francois Tigeot <ftigeot@wolfpond.org> | 2011-05-16 13:39:44 +0200 |
---|---|---|
committer | Francois Tigeot <ftigeot@wolfpond.org> | 2011-05-16 13:48:26 +0200 |
commit | 0c5d3ca3e40c60322c1d5eabc6c4a27df96b1c09 (patch) | |
tree | f7497e6bdef8f895f4610aea3a28813b285ae695 /download | |
parent | 5631d2cf76fcd33ae355295e3e1111f95887c866 (diff) |
Fix some bashisms
Equality tests with == are not posix-compliants. Only test = works
with all /bin/sh shells.
Diffstat (limited to 'download')
-rwxr-xr-x | download | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -210,7 +210,7 @@ if [ "$GUI" = "WNT" -a -n "$md5sum" ]; then fi $TARFILE_LOCATION/dbghinst.EXE /T:$TMPUNPACK /C sum=`$md5sum $md5special $TARFILE_LOCATION/tmp/dbghelp.exe | sed "s/ .*//"` - if [ "$sum" == "cd3086a91e37965dd761ef5fd5df5b15" ]; then + if [ "$sum" = "cd3086a91e37965dd761ef5fd5df5b15" ]; then unzip -LL -j -o -d ./external/dbghelp $TARFILE_LOCATION/tmp/dbghelp.exe fi fi @@ -237,7 +237,7 @@ if [ "$GUI" = "WNT" -a -n "$md5sum" ]; then if [ -f $TARFILE_LOCATION/tmp/$gdiplus_dll_path ]; then echo "Extraction succeeded" sum=`$md5sum $md5special $TARFILE_LOCATION/tmp/$gdiplus_dll_path | sed "s/ .*//"` - if [ "$sum" == "4721ab485e0c29cd1617a5f296b9cc47" ]; then + if [ "$sum" = "4721ab485e0c29cd1617a5f296b9cc47" ]; then cp $TARFILE_LOCATION/tmp/$gdiplus_dll_path ./external/gdiplus/gdiplus.dll else echo "But unexpected checksum of $gdiplus_dll_path" |