From 032233d3c48be408906844f91d6a95649ffc9e4e 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: Sun, 10 Dec 2017 19:12:55 +0000 Subject: subr/pkg_clean.subr: correctly rm(1) ${PKG_BASE_DIR}/${PKG_SUBDIR}. --- subr/pkg_clean.subr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'subr') diff --git a/subr/pkg_clean.subr b/subr/pkg_clean.subr index d18adc13..c9e16e1e 100644 --- a/subr/pkg_clean.subr +++ b/subr/pkg_clean.subr @@ -7,7 +7,7 @@ pkg_clean() { for _dir in ${ARG_CLEAN_BUILDS}; do case "${_dir}" in build) ex_rtl_fileop rm "${PKG_BUILD_DIR}"; ;; - src) ex_rtl_fileop rm "${PKG_SUBDIR}"; ;; + src) ex_rtl_fileop rm "${PKG_BASE_DIR}/${PKG_SUBDIR}"; ;; dest) ex_rtl_fileop rm "${PKG_DESTDIR}"; ;; *) return 1; ;; esac; -- cgit v1.2.3