[pbuilder] 02/02: modules: expose $BUILD_ARCH and $HOST_ARCH to hooks

Mattia Rizzolo mattia at debian.org
Sat Oct 8 23:39:16 UTC 2016


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch cross
in repository pbuilder.

commit dcf0068ec32b359543a2926883ce35a4da91c1f0
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Sat Oct 8 23:38:14 2016 +0000

    modules: expose $BUILD_ARCH and $HOST_ARCH to hooks
---
 pbuilder-modules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pbuilder-modules b/pbuilder-modules
index 6e2377f..c57fea9 100644
--- a/pbuilder-modules
+++ b/pbuilder-modules
@@ -902,6 +902,8 @@ function executehooks () {
                    log.i "user script $fn starting"
                    BUILDDIR="$BUILDDIR" \
                    DISTRIBUTION="$DISTRIBUTION" \
+                   BUILD_ARCH="$ARCHITECTURE" \
+                   HOST_ARCH="$HOST_ARCH" \
                        $CHROOTEXEC "/$hooks/$(basename "$fn")"
                    log.i "user script $fn finished"
                else

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pbuilder/pbuilder.git



More information about the Pbuilder-maint mailing list