From 65b55943748b31fc0f22d7dd2cb23f697280d6df Mon Sep 17 00:00:00 2001 From: rhatto Date: Thu, 22 Jan 2009 21:06:48 +0000 Subject: minor fixs git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@771 04377dda-e619-0410-9926-eae83683ac58 --- trunk/src/mkbuild | 8 ++++---- 1 file 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] } -- cgit v1.2.3