summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-12-10 19:12:55 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-12-10 19:12:55 +0000
commit032233d3c48be408906844f91d6a95649ffc9e4e (patch)
tree5112e64bb5f7ad70f3b6968af28f9acf66548b2a /subr
parent0b1fc04597b7c80049f385b2be59471d5fd495dc (diff)
downloadmidipix_build-032233d3c48be408906844f91d6a95649ffc9e4e.tar.bz2
midipix_build-032233d3c48be408906844f91d6a95649ffc9e4e.tar.xz
subr/pkg_clean.subr: correctly rm(1) ${PKG_BASE_DIR}/${PKG_SUBDIR}.
Diffstat (limited to 'subr')
-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;