Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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.
  • Loading branch information...
commit 5df73fe1fb6ce219263d42e582b52f9cb8923fcd 1 parent 707dce4
Behdad Esfahbod behdad authored Behdad Esfahbod committed

Showing 2 changed files with 7 additions and 2 deletions. Show diff stats Hide diff stats

  1. +5 0 ChangeLog
  2. +2 2 sanity_check
5 ChangeLog
... ... @@ -1,3 +1,8 @@
  1 +2006-11-14 Behdad Esfahbod <behdad@gnome.org>
  2 +
  3 + * sanity_check: Replace bash-specific == with sh-understood =.
  4 + Fixes bug #373864.
  5 +
1 6 2006-11-05 Hans Breuer <hans@breuer.org>
2 7
3 8 * glib/makefile.msc.in : glib/ version not the gobject/
4 sanity_check
@@ -16,7 +16,7 @@ tar xfz glib-$VERSION.tar.gz
16 16 for file in INSTALL NEWS README
17 17 do
18 18 echo -n "$file... "
19   - if [ "x`grep $VERSION glib-$VERSION/$file | wc -l | awk -F' ' '{print $1}'`" == "x0" ]; then
  19 + if [ "x`grep $VERSION glib-$VERSION/$file | wc -l | awk -F' ' '{print $1}'`" = "x0" ]; then
20 20 echo "failed."
21 21 #exit 1
22 22 else
@@ -25,7 +25,7 @@ do
25 25 done
26 26
27 27 echo -n "INSTALL..."
28   -if [ "x`grep $VERSION glib-$VERSION/INSTALL | wc -l | awk -F' ' '{print $1}'`" == "x2" ]; then
  28 +if [ "x`grep $VERSION glib-$VERSION/INSTALL | wc -l | awk -F' ' '{print $1}'`" = "x2" ]; then
29 29 echo "ok"
30 30 else
31 31 echo "failed."

0 comments on commit 5df73fe

Please sign in to comment.
Something went wrong with that request. Please try again.