aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-createbuildenv
diff options
context:
space:
mode:
Diffstat (limited to 'pbuilder-createbuildenv')
-rwxr-xr-xpbuilder-createbuildenv3
1 files changed, 2 insertions, 1 deletions
diff --git a/pbuilder-createbuildenv b/pbuilder-createbuildenv
index 94d8352..8da12dc 100755
--- a/pbuilder-createbuildenv
+++ b/pbuilder-createbuildenv
@@ -19,12 +19,13 @@ if [ ! -d "$BUILDPLACE" ]; then
exit 1
fi
echo " -> running debootstrap"
-if ! ( cd "$BUILDPLACE" && debootstrap "$DISTRIBUTION" . "$MIRRORSITE" ) ; then
+if ! ( cd "$BUILDPLACE" && debootstrap "$DISTRIBUTION" . "$MIRRORSITE" "$DEBOOTSTRAPSCRIPT" ) ; then
echo "pbuilder: debootstrap failed" >&2
exit 1
fi
echo " -> debootstrap finished"
+DEBOOTSTRAPSCRIPT=""
if [ -n "$HOOKDIR" ]; then
loadhooks
fi