summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-16 12:06:58 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-16 12:06:58 +0200
commite37cac7be40470bf06e62072e7ca5bd449c00aa0 (patch)
tree2e70b3746315dcb1958576f46c9f87edf51d05ed
parent6657817dae3b2422bace22b0ec564b155cf04c1b (diff)
downloadjenkins.debian.net-e37cac7be40470bf06e62072e7ca5bd449c00aa0.tar.xz
fixup 6657817d: reproducible: allow by job name...
-rwxr-xr-xbin/jenkins_node_wrapper.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/jenkins_node_wrapper.sh b/bin/jenkins_node_wrapper.sh
index 37088309..3c54d2dc 100755
--- a/bin/jenkins_node_wrapper.sh
+++ b/bin/jenkins_node_wrapper.sh
@@ -67,7 +67,7 @@ elif [[ "$*" =~ rebootstrap_.* ]] ; then
REBOOTSTRAPSH="/srv/jenkins/bin/rebootstrap.sh $@"
export LC_ALL=C
exec $REBOOTSTRAPSH; croak "Exec failed";
-elif [ "$0" = "reproducible_nodes_info" ] ; then
+elif [ "$*" = "reproducible_nodes_info" ] ; then
exec /srv/jenkins/bin/reproducible_info.sh ; croak "Exec failed";
elif [ "$1" = "/srv/jenkins/bin/reproducible_build.sh" ] && ( [ "$2" = "1" ] || [ "$2" = "2" ] ) ; then
exec /srv/jenkins/bin/reproducible_build.sh "$2" "$3" "$4" "$5" ; croak "Exec failed";