config/path: remove erroneous brackets

This commit is contained in:
adam111316 2012-07-18 00:26:58 +08:00
parent 51d438627d
commit dca7d481c0

View File

@ -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