FIX unexpected operator

See http://stackoverflow.com/questions/2011160/unexpected-operator-error
This commit is contained in:
Damian Mooyman 2014-11-14 17:36:22 +13:00
parent f2ce8cb754
commit 3ad848cd98

View File

@ -35,7 +35,7 @@ checkout () {
cd ../../ cd ../../
fi fi
if [ $# == 3 ]; then if [ $# = 3 ]; then
if [ -d $dir/src/$2_$3 ]; then if [ -d $dir/src/$2_$3 ]; then
cd "$dir/src/$2_$3" cd "$dir/src/$2_$3"
else else