[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: fix typo

Holger Levsen holger at moszumanska.debian.org
Sun Aug 30 16:17: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 b2b07f9af9bf469beeb8b0f52b0a5ba2cbad9d36
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sun Aug 30 18:16:58 2015 +0200

    reproducible: fix typo
---
 TODO                      | 1 +
 bin/reproducible_build.sh | 8 ++++----
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/TODO b/TODO
index 2edcd4c..260d93c 100644
--- a/TODO
+++ b/TODO
@@ -254,6 +254,7 @@ properties:
 ** called with the first param being "1" or "2" (and two more params, srcpkg and suite): do first or second build
 *** verify $2 and $3 are ok
 ** called with two params: $node1 and $node2 where the build should happen.
+* diffoscope needs to be run on the target arch...
 
 * reproducible_build.sh (with two params) will be still always be run on the main node, that is the one holding reproducible.db, so jenkins.d.n atm
 * job definitions:
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 8c041c1..8328084 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -576,10 +576,10 @@ elif [ "$1" = "1" ] || [ "$1" = "2" ] ; then
 	exit 0
 elif [ "$2" != "" ] ; then
 	MODE="ng"
-	NODE1="(echo $1 | cut -d ':' -f1).debian.net"
-	NODE2="(echo $2 | cut -d ':' -f1).debian.net"
-	PORT1="(echo $1 | cut -d ':' -f2)"
-	PORT2="(echo $2 | cut -d ':' -f2)"
+	NODE1="$(echo $1 | cut -d ':' -f1).debian.net"
+	NODE2="$(echo $2 | cut -d ':' -f1).debian.net"
+	PORT1="$(echo $1 | cut -d ':' -f2)"
+	PORT2="$(echo $2 | cut -d ':' -f2)"
 	# if no port is given, assume 22
 	if [ "$NODE1" = "${PORT1}.debian.net" ] ; then PORT1 = 22 ; fi
 	if [ "$NODE2" = "${PORT2}.debian.net" ] ; then PORT2 = 22 ; fi

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