summaryrefslogtreecommitdiffhomepage
path: root/subr/pkg_patch_pre.subr
diff options
context:
space:
mode:
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;
};