|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
#
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
802215 |
# set -o errexit -o noglob are assumed.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
#
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
pkg_patch_pre() {
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
802215 |
local __;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
for __ in \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
${MIDIPIX_BUILD_PWD}/../${PKG_SUBDIR}_pre.local.patch \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
${MIDIPIX_BUILD_PWD}/../${PKG_SUBDIR}_pre.local@${BUILD_HNAME}.patch \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
${WORKDIR}/chainport/${PKG_SUBDIR}_pre.midipix.patch \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
${MIDIPIX_BUILD_PWD}/patches/${PKG_SUBDIR}_pre.local.patch \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
${MIDIPIX_BUILD_PWD}/patches/${PKG_SUBDIR}_pre.local@${BUILD_HNAME}.patch; do
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
if [ -r "${__}" ]; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
patch -b -d ${PKG_SUBDIR} -p1 < ${__};
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
fi;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
802215 |
done;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
if test_cmd pkg_${PKG_NAME}_patch_pre_post; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
pkg_${PKG_NAME}_patch_pre_post;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
fi;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
};
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
# vim:filetype=sh
|