aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-runhooks
diff options
context:
space:
mode:
authorJunichi Uekawa <dancer@netfort.gr.jp>2009-11-29 17:22:13 +0900
committerJunichi Uekawa <dancer@netfort.gr.jp>2009-11-29 17:22:13 +0900
commit040fb06d79720767e11e67769e51039729e56882 (patch)
treeb439596600798a3a34bff877cf6bcd6d4ea4a260 /pbuilder-runhooks
parentc789e0695482a3ee37c2374082dfb1725bcd627b (diff)
downloadpbuilder-040fb06d79720767e11e67769e51039729e56882.tar
pbuilder-040fb06d79720767e11e67769e51039729e56882.tar.gz
make --hookdir work on pdebuild-internal (closes:#526471)
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