diff --git a/config/path b/config/path index 7c56c5fd93..9262dbc787 100644 --- a/config/path +++ b/config/path @@ -56,7 +56,7 @@ SED="sed -i" if [ -n "$1" ]; then PKG_DIR=`find $PACKAGES -type d -name $1 2>/dev/null` - if [[ $PKG_DIR = *$'\n'* ]]; then + if [ $PKG_DIR = *$'\n'* ]; then echo -e "Error - multiple package folders:\n$PKG_DIR" exit 1 fi