diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-11-14 18:23:48 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-11-14 18:23:48 +0000 |
commit | 5df73fe1fb6ce219263d42e582b52f9cb8923fcd (patch) | |
tree | d1a11cedb67770935ca0a451cecfece0e405d41d /sanity_check | |
parent | 707dce444496ca11d320f046ff3cf755b3424b2b (diff) | |
download | glib-5df73fe1fb6ce219263d42e582b52f9cb8923fcd.tar.gz |
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.
Diffstat (limited to 'sanity_check')
-rwxr-xr-x | sanity_check | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sanity_check b/sanity_check index cf6fb3652..5f6e66e20 100755 --- a/sanity_check +++ b/sanity_check @@ -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." |