[Qa-jenkins-scm] [jenkins.debian.net] 02/02: reproducible Debian: explain why eval is needed…

Holger Levsen holger at layer-acht.org
Sat Mar 25 19:42:33 UTC 2017


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 ae8872f0aff356e1cd98dad8a2a0b580075e0233
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Mar 25 20:42:18 2017 +0100

    reproducible Debian: explain why eval is needed…
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_build.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 3501430..a1f005c 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -248,6 +248,7 @@ handle_ftbfs() {
 	for BUILD in "1" "2"; do
 		local nodevar="NODE$BUILD"
 		local node=""
+		# eval is needed here, because we want the value of $node1 or $node2
 		eval node=\$$nodevar
 		if [ ! -f "$DEBIAN_BASE/logs/$SUITE/$ARCH/${SRCPACKAGE}_${EVERSION}.build${BUILD}.log.gz" ] ; then
 			continue

-- 
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