From 127130d0438a6476eed51a12e92862bb0c2f2c5e Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Mon, 25 Jul 2016 20:11:24 +0200 Subject: [PATCH] Pmodules/libpbuild.bash: - pbuild::prep(): call to pbuild::patch_sources() added --- Pmodules/libpbuild.bash | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Pmodules/libpbuild.bash b/Pmodules/libpbuild.bash index 0e615cb..486c005 100644 --- a/Pmodules/libpbuild.bash +++ b/Pmodules/libpbuild.bash @@ -203,6 +203,7 @@ pbuild::prep() { if [[ ! -d ${MODULE_SRCDIR} ]]; then mkdir -p "${PMODULES_TMPDIR}/src" (cd "${PMODULES_TMPDIR}/src" && tar xvf "${TARBALL}") + (cd "${MODULE_SRCDIR}" && pbuild::patch_sources) fi # create build directory @@ -769,8 +770,6 @@ pbuild::make_all() { if [[ ! -e "${MODULE_BUILDDIR}/.prep" ]] || [[ ${force_rebuild} == 'yes' ]] ; then pbuild::prep - cd "${MODULE_SRCDIR}" - pbuild::patch_sources touch "${MODULE_BUILDDIR}/.prep" fi [[ "${target}" == "prep" ]] && return 0