summaryrefslogtreecommitdiffhomepage
path: root/subr/pkg_clean.subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-12-14 17:14:31 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-12-14 17:14:31 +0000
commit4cc1cf9115965443ee644328852c576ac8514193 (patch)
treea85763c9de34b8c1db533336c8c80d52f2ef429e /subr/pkg_clean.subr
parent5ee83193a6a514332abfdd93808e3003683572c9 (diff)
downloadmidipix_build-4cc1cf9115965443ee644328852c576ac8514193.tar.bz2
midipix_build-4cc1cf9115965443ee644328852c576ac8514193.tar.xz
vars/build.vars:apr{,_util}: explicitly mark dependency.
subr/pkg_clean.subr: defer cleaning packages w/ dependencies. vars/env.vars:${DEFAULT_BUILD_VARS}: adds DEPS_{BASE,PARENT}.
Diffstat (limited to 'subr/pkg_clean.subr')
-rw-r--r--subr/pkg_clean.subr3
1 files changed, 3 insertions, 0 deletions
diff --git a/subr/pkg_clean.subr b/subr/pkg_clean.subr
index c9e16e1e..b2bb8eea 100644
--- a/subr/pkg_clean.subr
+++ b/subr/pkg_clean.subr
@@ -4,6 +4,9 @@
pkg_clean() {
local _dir;
+ if [ -n "${PKG_DEPS_BASE}" ]; then
+ return 0;
+ fi;
for _dir in ${ARG_CLEAN_BUILDS}; do
case "${_dir}" in
build) ex_rtl_fileop rm "${PKG_BUILD_DIR}"; ;;