aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-runhooks
diff options
context:
space:
mode:
Diffstat (limited to 'pbuilder-runhooks')
-rw-r--r--pbuilder-runhooks2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbuilder-runhooks b/pbuilder-runhooks
index cbc3113..33b522e 100644
--- a/pbuilder-runhooks
+++ b/pbuilder-runhooks
@@ -88,7 +88,7 @@ function executehooks () {
*)
if [ -x "$fn" ]; then
log "I: user script $fn starting"
- $CHROOTEXEC "$hooks/"$(basename "$fn")
+ $CHROOTEXEC "/$hooks/"$(basename "$fn")
log "I: user script $fn finished"
else
if [ -f "$fn" ]; then