Author: toad
Date: 2008-09-04 14:47:50 +0000 (Thu, 04 Sep 2008)
New Revision: 22412
Modified:
trunk/apps/new_installer/scripts/update.sh
Log:
return `test blah` is bogus. It is converted to just return, and return returns
the last retval from the function body i.e. not from the ``'s.
This was breaking the update script for Luke771, nextgens please deploy the new
script.
Modified: trunk/apps/new_installer/scripts/update.sh
===================================================================
--- trunk/apps/new_installer/scripts/update.sh 2008-09-04 14:43:37 UTC (rev
22411)
+++ trunk/apps/new_installer/scripts/update.sh 2008-09-04 14:47:50 UTC (rev
22412)
@@ -46,7 +46,8 @@
HASH_FILE1="$HASH"
file_hash "$2"
HASH_FILE2="$HASH"
- return `test "$HASH_FILE1" = "$HASH_FILE2"`
+ test "$HASH_FILE1" = "$HASH_FILE2"
+ return
else
return 1
fi