summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--subr.pkg/pkg_configure_patch_pre.subr4
1 files changed, 2 insertions, 2 deletions
diff --git a/subr.pkg/pkg_configure_patch_pre.subr b/subr.pkg/pkg_configure_patch_pre.subr
index a1ae73b6..3a0c461e 100644
--- a/subr.pkg/pkg_configure_patch_pre.subr
+++ b/subr.pkg/pkg_configure_patch_pre.subr
@@ -21,10 +21,10 @@ pkgp_configure_patch_pre() {
pkgp_configure_patch_pre_chainport() {
local _ppcppc_patch_dname="" _ppcppc_patch_fname="" _ppcppc_oldpwd="";
- _ppcppc_patch_dname="${PKG_BASE_DIR}/${PKG_SUBDIR}/patches/${PKG_NAME%%_ppcppc_*}";
+ _ppcppc_patch_dname="${PKG_BASE_DIR}/${PKG_SUBDIR}/patches/${PKG_NAME%%_*}";
if [ "${PKG_VERSION:+1}" = 1 ]; then
- _ppcppc_patch_fname="${BUILD_WORKDIR}/chainport/patches/${PKG_NAME%%_ppcppc_*}/${PKG_NAME%%_ppcppc_*}-${PKG_VERSION}.midipix.patch";
+ _ppcppc_patch_fname="${BUILD_WORKDIR}/chainport/patches/${PKG_NAME%%_*}/${PKG_NAME%%_*}-${PKG_VERSION}.midipix.patch";
fi;
if [ -e "${_ppcppc_patch_fname}" ]; then
if ! rtl_fileop mkdir "${_ppcppc_patch_dname}"\