aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-runhooks
diff options
context:
space:
mode:
Diffstat (limited to 'pbuilder-runhooks')
-rw-r--r--pbuilder-runhooks1
1 files changed, 1 insertions, 0 deletions
diff --git a/pbuilder-runhooks b/pbuilder-runhooks
index 9ca6e76..3b34e18 100644
--- a/pbuilder-runhooks
+++ b/pbuilder-runhooks
@@ -90,6 +90,7 @@ function executehooks () {
*)
if [ -x "$fn" ]; then
log "I: user script $fn starting"
+ BUILDDIR="$BUILDDIR" \
$CHROOTEXEC "/$hooks/"$(basename "$fn")
log "I: user script $fn finished"
else