[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] The environment variables must be before the command in sudo
Holger Levsen (@holger)
gitlab at salsa.debian.org
Wed Jun 16 14:16:48 BST 2021
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
abb8bef8 by Roland Clobus at 2021-06-16T15:16:29+02:00
The environment variables must be before the command in sudo
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_debian_live_build.sh
Changes:
=====================================
bin/reproducible_debian_live_build.sh
=====================================
@@ -193,7 +193,7 @@ EOF
# First build
-sudo lb build SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH} LIVE_BUILD=${LIVE_BUILD} | tee -a $LB_OUTPUT
+sudo SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH} LIVE_BUILD=${LIVE_BUILD} lb build | tee -a $LB_OUTPUT
RESULT=$?
if [ "$RESULT" != "0" ] ; then
output_echo "Warning: lb config failed with $RESULT"
@@ -211,7 +211,7 @@ if [ "$RESULT" != "0" ] ; then
fi
# Second build
-sudo lb build SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH} LIVE_BUILD=${LIVE_BUILD} | tee -a $LB_OUTPUT
+sudo SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH} LIVE_BUILD=${LIVE_BUILD} lb build | tee -a $LB_OUTPUT
RESULT=$?
if [ "$RESULT" != "0" ] ; then
output_echo "Warning: lb config failed with $RESULT"
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/abb8bef853bf22e8da287c5c73fbf22b95b1f0c3
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/abb8bef853bf22e8da287c5c73fbf22b95b1f0c3
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20210616/cfa8db64/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list