summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--subr/pkg_clean.subr2
1 files changed, 1 insertions, 1 deletions
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;