diff options
Diffstat (limited to 'trunk/src')
-rwxr-xr-x | trunk/src/mkbuild | 3 |
1 files changed, 2 insertions, 1 deletions
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 { |