From bcaeb729122fd027a33941af1d51424f532db8ee Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Mon, 17 Aug 2015 14:26:08 +0000 Subject: makes BUILDDIR available to hooks, so they can know where the source and the built packages are --- pbuilder-runhooks | 1 + 1 file changed, 1 insertion(+) (limited to 'pbuilder-runhooks') 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 -- cgit v1.2.3