diff options
Diffstat (limited to 'trunk/src')
-rw-r--r-- | trunk/src/createpkg | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/trunk/src/createpkg b/trunk/src/createpkg index daa7e5f..45c2d6c 100644 --- a/trunk/src/createpkg +++ b/trunk/src/createpkg @@ -31,7 +31,7 @@ # Createpkg functions #--------------------------------------------------- -CREATEPKG_VERSION="1.0.1" +CREATEPKG_VERSION="1.0.2" function error_codes { @@ -421,7 +421,8 @@ if [ "`echo $BUILD_SCRIPT | wc -w`" -gt 1 ]; then BUILD_SCRIPT=`echo $BUILD_SCRIPT | sed 's/ /\n/g' | grep "/$PACKAGE.SlackBuild"` PS3="$AUX" else - PACKAGE=`echo $BUILD_SCRIPT | sed -r 's/.*\/(.*)\.SlackBuild$/\1/'` + #PACKAGE=`echo $BUILD_SCRIPT | sed -r 's/.*\/(.*)\.SlackBuild$/\1/'` + PACKAGE=`basename $BUILD_SCRIPT .SlackBuild` fi # Check SlackBuild script found |