From d5449f09069d42b3c40b88a1f740d8f11cfa83e8 Mon Sep 17 00:00:00 2001 From: rhatto Date: Sun, 28 Dec 2008 16:54:25 +0000 Subject: minor fix git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@725 04377dda-e619-0410-9926-eae83683ac58 --- trunk/src/mkbuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trunk/src/mkbuild b/trunk/src/mkbuild index 41fe75e..0fd2218 100755 --- a/trunk/src/mkbuild +++ b/trunk/src/mkbuild @@ -543,13 +543,14 @@ function get_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" # Down case SlackBuild path echo $AUX_PATH | tr [A-Z] [a-z] + } function apply_mkpatch { -- cgit v1.2.3