summaryrefslogtreecommitdiffhomepage
path: root/subr/pkg_clean.subr
diff options
context:
space:
mode:
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}"; ;;