summaryrefslogtreecommitdiffhomepage
path: root/subr/pkg_fetch_distclean.subr
diff options
context:
space:
mode:
Diffstat (limited to 'subr/pkg_fetch_distclean.subr')
-rw-r--r--subr/pkg_fetch_distclean.subr15
1 files changed, 0 insertions, 15 deletions
diff --git a/subr/pkg_fetch_distclean.subr b/subr/pkg_fetch_distclean.subr
deleted file mode 100644
index 19f0b741..00000000
--- a/subr/pkg_fetch_distclean.subr
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-# set -o errexit -o noglob are assumed.
-#
-
-pkg_fetch_distclean() {
- if [ "$(stat -c %i "${PKG_BASE_DIR}")" \
- != "$(stat -c %i "${WORKDIR}")" ]; then
- ex_build_fileop cd "${WORKDIR}";
- ex_build_fileop rm "${PKG_BASE_DIR}";
- ex_build_fileop mkdir "${PKG_BASE_DIR}";
- ex_build_fileop cd "${PKG_BASE_DIR}";
- fi;
-};
-
-# vim:filetype=sh