diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-08-17 14:26:08 +0000 |
---|---|---|
committer | Mattia Rizzolo <mattia@mapreri.org> | 2015-08-17 14:26:08 +0000 |
commit | bcaeb729122fd027a33941af1d51424f532db8ee (patch) | |
tree | 1fe9be83c8227fb4e22bc3f84a4290eaf2cd11ca | |
parent | e1379f2ef18b521182115ea3a82894bae7bf36cf (diff) | |
download | pbuilder-bcaeb729122fd027a33941af1d51424f532db8ee.tar pbuilder-bcaeb729122fd027a33941af1d51424f532db8ee.tar.gz |
makes BUILDDIR available to hooks, so they can know where the source and the built packages are
-rw-r--r-- | pbuilder-runhooks | 1 |
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 |