Replace bash-specific == with sh-understood =. Fixes bug #373864.
authorBehdad Esfahbod <behdad@gnome.org>
Tue, 14 Nov 2006 18:23:48 +0000 (18:23 +0000)
committerBehdad Esfahbod <behdad@src.gnome.org>
Tue, 14 Nov 2006 18:23:48 +0000 (18:23 +0000)
2006-11-14  Behdad Esfahbod  <behdad@gnome.org>

        * sanity_check: Replace bash-specific == with sh-understood =.
        Fixes bug #373864.

ChangeLog
sanity_check

index b5d2c32..bcf388c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-11-14  Behdad Esfahbod  <behdad@gnome.org>
+
+       * sanity_check: Replace bash-specific == with sh-understood =.
+       Fixes bug #373864.
+
 2006-11-05  Hans Breuer  <hans@breuer.org>
 
        * glib/makefile.msc.in : glib/ version not the gobject/ 
index cf6fb36..5f6e66e 100755 (executable)
@@ -16,7 +16,7 @@ tar xfz glib-$VERSION.tar.gz
 for file in INSTALL NEWS README 
 do
        echo -n "$file... "
-       if [ "x`grep $VERSION glib-$VERSION/$file | wc -l | awk -F' ' '{print $1}'`" == "x0" ]; then
+       if [ "x`grep $VERSION glib-$VERSION/$file | wc -l | awk -F' ' '{print $1}'`" = "x0" ]; then
                echo "failed."
                #exit 1
        else
@@ -25,7 +25,7 @@ do
 done
 
 echo -n "INSTALL..."
-if [ "x`grep $VERSION glib-$VERSION/INSTALL | wc -l | awk -F' ' '{print $1}'`" == "x2" ]; then 
+if [ "x`grep $VERSION glib-$VERSION/INSTALL | wc -l | awk -F' ' '{print $1}'`" = "x2" ]; then 
        echo "ok" 
 else
        echo "failed."