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

2006-11-14  Behdad Esfahbod  <behdad@gnome.org>

        * sanity_check: Replace bash-specific == with sh-understood =.
        Fixes bug #373864.
This commit is contained in:
Behdad Esfahbod 2006-11-14 18:23:48 +00:00 committed by Behdad Esfahbod
parent 707dce4444
commit 5df73fe1fb
2 changed files with 7 additions and 2 deletions

View File

@ -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> 2006-11-05 Hans Breuer <hans@breuer.org>
* glib/makefile.msc.in : glib/ version not the gobject/ * glib/makefile.msc.in : glib/ version not the gobject/

View File

@ -16,7 +16,7 @@ tar xfz glib-$VERSION.tar.gz
for file in INSTALL NEWS README for file in INSTALL NEWS README
do do
echo -n "$file... " 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." echo "failed."
#exit 1 #exit 1
else else
@ -25,7 +25,7 @@ do
done done
echo -n "INSTALL..." 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" echo "ok"
else else
echo "failed." echo "failed."