diff options
author | Lucía Andrea Illanes Albornoz <lucia@luciaillanes.de> | 2024-03-26 16:09:10 +0100 |
---|---|---|
committer | Lucía Andrea Illanes Albornoz <lucia@luciaillanes.de> | 2024-03-26 16:09:10 +0100 |
commit | e29bde22a0ebf05e64e2963c8c5eee46a12b8b67 (patch) | |
tree | d1c0b32abc7157a8efaafb0cbdb6356d7a8b3604 | |
parent | d480be60eb1d0dd0d2089129f796aacb240d1652 (diff) | |
download | midipix_build-e29bde22a0ebf05e64e2963c8c5eee46a12b8b67.tar.bz2 midipix_build-e29bde22a0ebf05e64e2963c8c5eee46a12b8b67.tar.xz |
subr.pkg/pkg_configure_patch.subr: don't apply patches if "${PKG_BASE_DIR}/${PKG_SUBDIR}/srcprep.sh" exists.
-rw-r--r-- | subr.pkg/pkg_configure_patch.subr | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/subr.pkg/pkg_configure_patch.subr b/subr.pkg/pkg_configure_patch.subr index 572ea10a..62c4f382 100644 --- a/subr.pkg/pkg_configure_patch.subr +++ b/subr.pkg/pkg_configure_patch.subr @@ -12,6 +12,10 @@ pkg_configure_patch() { _pcp_restart_at="${3}" _pcp_type="${4:-patches}" \ _pcp_patch_cwd="" _pcp_strip_count=0; + if [ -x "${PKG_BASE_DIR}/${PKG_SUBDIR}/srcprep.sh" ]; then + return 0; + fi; + if [ "${PKG_FNAME:+1}" = 1 ]\ && [ "${PKG_URLS_GIT:+1}" = 1 ]; then |