aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-01-22 21:06:48 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-01-22 21:06:48 +0000
commit65b55943748b31fc0f22d7dd2cb23f697280d6df (patch)
tree19f7919c48b3b26c3282b098437cdf514b432104
parent8b0632dbf9611025c5fca21521cf6f5077e9faaf (diff)
downloadsimplepkg-65b55943748b31fc0f22d7dd2cb23f697280d6df.tar.gz
simplepkg-65b55943748b31fc0f22d7dd2cb23f697280d6df.tar.bz2
minor fixs
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@771 04377dda-e619-0410-9926-eae83683ac58
-rwxr-xr-xtrunk/src/mkbuild8
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]
}