aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-modules
diff options
context:
space:
mode:
authordancer <dancer>2001-08-27 12:06:18 +0000
committerdancer <dancer>2001-08-27 12:06:18 +0000
commitae250b9e9671e090dff4a791a9a07a2e0fab1d29 (patch)
tree9202c9d9f24a634813d1b9e16b9f934cf678b92a /pbuilder-modules
parent3406794c7f2750b5233c3f249dac7aad05a01ffd (diff)
downloadpbuilder-ae250b9e9671e090dff4a791a9a07a2e0fab1d29.tar
pbuilder-ae250b9e9671e090dff4a791a9a07a2e0fab1d29.tar.gz
cleanbuildplace is split out and made some things surrounded by quotes
Diffstat (limited to 'pbuilder-modules')
-rw-r--r--pbuilder-modules6
1 files changed, 6 insertions, 0 deletions
diff --git a/pbuilder-modules b/pbuilder-modules
index 7601738..fb4e996 100644
--- a/pbuilder-modules
+++ b/pbuilder-modules
@@ -16,6 +16,12 @@ function mountproc () {
fi
}
+function cleanbuildplace () {
+ if [ -d "$BUILDPLACE" ]; then
+ echo cleaning the build env
+ rm -rf "$BUILDPLACE"
+ fi;
+}
#required for some packages to install...
export LANG=C