From dca7d481c0214e5becd1259e7b675eb3508ca86e Mon Sep 17 00:00:00 2001 From: adam111316 Date: Wed, 18 Jul 2012 00:26:58 +0800 Subject: [PATCH] config/path: remove erroneous brackets --- config/path | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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