[Qa-jenkins-scm] [jenkins.debian.net] 04/04: reproducible: build: export the env variable we are interested in
Holger Levsen
holger at moszumanska.debian.org
Tue Jun 16 09:38:21 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 7fd7a85a674e727987ea56184280432c8f304ff3
Author: Mattia Rizzolo <mattia at mapreri.org>
Date: Tue Jun 16 10:58:25 2015 +0200
reproducible: build: export the env variable we are interested in
---
bin/reproducible_build.sh | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index a1e3e0c..5b13585 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -370,8 +370,8 @@ first_build(){
cat > "$TMPCFG" << EOF
BUILDUSERID=1111
BUILDUSERNAME=pbuilder1
-DEB_BUILD_OPTIONS="parallel=$NUM_CPU"
-TZ="/usr/share/zoneinfo/Etc/GMT+12"
+export DEB_BUILD_OPTIONS="parallel=$NUM_CPU"
+export TZ="/usr/share/zoneinfo/Etc/GMT+12"
EOF
# remember to change the sudoers setting if you change the following command
( sudo timeout -k 12.1h 12h /usr/bin/ionice -c 3 /usr/bin/nice \
@@ -432,10 +432,10 @@ build_rebuild() {
cat > "$TMPCFG" << EOF
BUILDUSERID=2222
BUILDUSERNAME=pbuilder2
-DEB_BUILD_OPTIONS="parallel=$(echo $NUM_CPU-1|bc)"
-TZ="/usr/share/zoneinfo/Etc/GMT-14"
-LANG="fr_CH.UTF-8"
-LC_ALL="fr_CH.UTF-8"
+export DEB_BUILD_OPTIONS="parallel=$(echo $NUM_CPU-1|bc)"
+export TZ="/usr/share/zoneinfo/Etc/GMT-14"
+export LANG="fr_CH.UTF-8"
+export LC_ALL="fr_CH.UTF-8"
#PATH="${PATHH:+"$PATH:"}/i/capture/the/path" # FIXME there must be something fishy on this, since only /i/capture/the/path is in PATH inside pbuilder
umask 0002
EOF
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list