summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-08-30 18:16:58 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-30 18:16:58 +0200
commitb2b07f9af9bf469beeb8b0f52b0a5ba2cbad9d36 (patch)
tree5fcf45d1a77a904fc79e0134ff6e53b15fa16286 /bin/reproducible_build.sh
parentd00b49e9a73b87c89377440c602d8a3e71c7943e (diff)
downloadjenkins.debian.net-b2b07f9af9bf469beeb8b0f52b0a5ba2cbad9d36.tar.xz
reproducible: fix typo
Diffstat (limited to 'bin/reproducible_build.sh')
-rwxr-xr-xbin/reproducible_build.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 8c041c18..8328084f 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