From 4cc1cf9115965443ee644328852c576ac8514193 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Thu, 14 Dec 2017 17:14:31 +0000 Subject: 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}. --- subr/pkg_clean.subr | 3 +++ 1 file changed, 3 insertions(+) (limited to 'subr/pkg_clean.subr') 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}"; ;; -- cgit v1.2.3