diff options
-rwxr-xr-x | trunk/src/mkbuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/trunk/src/mkbuild b/trunk/src/mkbuild index d46f828..a4754f2 100755 --- a/trunk/src/mkbuild +++ b/trunk/src/mkbuild @@ -599,16 +599,16 @@ function get_slackbuild_path { AUX_PATH="$SLACKBUILD_PATH" # Get in mkbuild - [ -z $AUX_PATH ] && AUX_PATH=`validate_parameter "$SLACKBUILD_PATH" "SLACKBUILD PATH" ""` + [ -z "$AUX_PATH" ] && AUX_PATH=`validate_parameter "$SLACKBUILD_PATH" "SLACKBUILD PATH" ""` # SlackBuild path in SlackBuild tree - [ -z $AUX_PATH ] && AUX_PATH=`cd $SLACKBUILDS_DIR && find . -name $SLACKBUILD | sed -e 's/^\.\///' | xargs dirname 2>/dev/null` + [ -z "$AUX_PATH" ] && AUX_PATH=`cd $SLACKBUILDS_DIR && find . -name $SLACKBUILD | sed -e 's/^\.\///' | xargs dirname 2>/dev/null` # SlackBuild path default - [ -z $AUX_PATH ] && AUX_PATH="others/unclassified/$PKG_NAME" + [ -z "$AUX_PATH" ] && AUX_PATH="others/unclassified/$PKG_NAME" # Down case SlackBuild path - echo $AUX_PATH | tr [A-Z] [a-z] + echo "$AUX_PATH" | tr [A-Z] [a-z] } |