summaryrefslogtreecommitdiffhomepage
path: root/pkg.build
diff options
context:
space:
mode:
Diffstat (limited to 'pkg.build')
-rw-r--r--pkg.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg.build b/pkg.build
index 6d44e3a3..1af22065 100644
--- a/pkg.build
+++ b/pkg.build
@@ -2,7 +2,7 @@
# . ./build.vars and set -o errexit -o noglob are assumed.
#
-parse_with_pkg_name ${SCRIPT_FNAME%[0-9][0-9]*} ${2} ${PKG_BUILD_NAMES};
+parse_with_pkg_name ${SCRIPT_FNAME%%[0-9][0-9].*} ${2} ${PKG_BUILD_NAMES};
if [ "${ARG_RESTART_SCRIPT_AT}" = diff ]; then
printf "" > ${MIDIPIX_BUILD_PWD}/${PKG_SUBDIR}.local.patch.new;
for __ in $(find ${PKG_SUBDIR} -name \*.orig); do