summaryrefslogtreecommitdiffhomepage
path: root/subr/pkg_patch_pre.subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2017-02-06 01:53:57 +0100
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2017-02-06 01:26:49 +0000
commit8ee843a21869a1dc38a7fc7b543b7a5a1231a4e9 (patch)
treeeb954fa132e74f663c1aa84b7dcc9df6aaf923ac /subr/pkg_patch_pre.subr
parent5a325f329863eb32c04e6133258cf865f42b9baa (diff)
downloadmidipix_build-8ee843a21869a1dc38a7fc7b543b7a5a1231a4e9.tar.bz2
midipix_build-8ee843a21869a1dc38a7fc7b543b7a5a1231a4e9.tar.xz
build.sh, {subr,vars}/*: general cleanup.
Diffstat (limited to 'subr/pkg_patch_pre.subr')
-rw-r--r--subr/pkg_patch_pre.subr12
1 files changed, 6 insertions, 6 deletions
diff --git a/subr/pkg_patch_pre.subr b/subr/pkg_patch_pre.subr
index 64f60f1e..298acd73 100644
--- a/subr/pkg_patch_pre.subr
+++ b/subr/pkg_patch_pre.subr
@@ -5,13 +5,13 @@
pkg_patch_pre() {
local __;
for __ in \
- ${MIDIPIX_BUILD_PWD}/../${PKG_SUBDIR}_pre.local.patch \
- ${MIDIPIX_BUILD_PWD}/../${PKG_SUBDIR}_pre.local@${BUILD_HNAME}.patch \
- ${WORKDIR}/chainport/${PKG_SUBDIR}_pre.midipix.patch \
- ${MIDIPIX_BUILD_PWD}/patches/${PKG_SUBDIR}_pre.local.patch \
- ${MIDIPIX_BUILD_PWD}/patches/${PKG_SUBDIR}_pre.local@${BUILD_HNAME}.patch; do
+ "${MIDIPIX_BUILD_PWD}/../${PKG_SUBDIR}_pre.local.patch" \
+ "${MIDIPIX_BUILD_PWD}/../${PKG_SUBDIR}_pre.local@${BUILD_HNAME}.patch" \
+ "${WORKDIR}/chainport/${PKG_SUBDIR}_pre.midipix.patch" \
+ "${MIDIPIX_BUILD_PWD}/patches/${PKG_SUBDIR}_pre.local.patch" \
+ "${MIDIPIX_BUILD_PWD}/patches/${PKG_SUBDIR}_pre.local@${BUILD_HNAME}.patch"; do
if [ -r "${__}" ]; then
- patch -b -d ${PKG_SUBDIR} -p1 < ${__};
+ patch -b -d "${PKG_SUBDIR}" -p1 < "${__}";
fi;
done;
};