Permalink
Browse files

Bash equality is = not ==

  • Loading branch information...
1 parent 5d97545 commit 2c6f480b284e89243f9eeba42928bf2d7ec902bc @dwaynebailey dwaynebailey committed Mar 20, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 tools/mozilla/build_firefox.sh
@@ -220,7 +220,7 @@ do
for newfile in $(svn status $PRODUCT_DIRS | egrep "^\?" | sed "s/\?\w*//")
do
[ -d $newfile ] && svn add $newfile
- [ -f $newfile -a "$(echo $newfile | cut -d"." -f2)" == "po" ] && svn add $newfile
+ [ -f $newfile -a "$(echo $newfile | cut -d"." -f2)" = "po" ] && svn add $newfile
done
if [ -d obsolete/.svn ]; then
@@ -236,7 +236,7 @@ do
svn revert -R $oldfile
svn move --parents $oldfile obsolete/$oldfile
fi
- if [ -f $newfile -a "$(echo $newfile | cut -d"." -f2)" == "po" ]; then
+ if [ -f $newfile -a "$(echo $newfile | cut -d"." -f2)" = "po" ]; then
svn revert $oldfile
svn move --parents $oldfile obsolete/$oldfile
fi

0 comments on commit 2c6f480

Please sign in to comment.