summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2017-01-26 16:36:56 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2017-01-26 20:52:31 +0000
commit1221f3e1114b09fb3e8aade25f8b92881211c2c9 (patch)
tree73f14046959bd39e20c3f5d4ed1c2f36a45558da /subr
parent22b9a11253c58ee79f918b83283cf0ef81129829 (diff)
downloadmidipix_build-1221f3e1114b09fb3e8aade25f8b92881211c2c9.tar.bz2
midipix_build-1221f3e1114b09fb3e8aade25f8b92881211c2c9.tar.xz
vars/build.vars, build/gcc.*.mingw_w64.build: adds gcc.*.mingw_w64.
Diffstat (limited to 'subr')
-rw-r--r--subr/build.subr6
1 files changed, 5 insertions, 1 deletions
diff --git a/subr/build.subr b/subr/build.subr
index 6078cc40..7851afe0 100644
--- a/subr/build.subr
+++ b/subr/build.subr
@@ -118,7 +118,11 @@ init_build_vars() {
};
source_scripts() {
- set -- ${BUILD_PACKAGE_LC%.*} ${BUILD_PACKAGE_LC#*.};
+ _ss_pkg_name="${BUILD_PACKAGE_LC%.*}";
+ _ss_arg1="${BUILD_PACKAGE_LC#*.}";
+ _ss_arg1="${_ss_arg1%%.*}";
+ _ss_arg2="${BUILD_PACKAGE_LC##*.}";
+ set -- ${_ss_pkg_name} ${_ss_arg1} ${_ss_arg2};
for SCRIPT_SOURCE in vars/${BUILD_PACKAGE_LC}.vars ${BUILD_SCRIPT_FNAME}; do
if [ -f ${MIDIPIX_BUILD_PWD}/${SCRIPT_SOURCE} ]; then
if [ ${ARG_DRYRUN:-0} -eq 1 ]; then