summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-06-16 10:58:25 +0200
committerMattia Rizzolo <mattia@mapreri.org>2015-06-16 10:58:25 +0200
commit7fd7a85a674e727987ea56184280432c8f304ff3 (patch)
tree995b7540eb6ff10a97bc0f549b0025297f380d15
parent864b1b23b13929dccedc60a476903ddcbec01ba2 (diff)
downloadjenkins.debian.net-7fd7a85a674e727987ea56184280432c8f304ff3.tar.xz
reproducible: build: export the env variable we are interested in
-rwxr-xr-xbin/reproducible_build.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index a1e3e0c8..5b135853 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