From de1b9757e6d53cab65041e7b522660b2203237ce Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 16 Sep 2015 12:00:20 +0200 Subject: reproducible: fix param --- bin/jenkins_node_wrapper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/jenkins_node_wrapper.sh b/bin/jenkins_node_wrapper.sh index b6ea9eb0..095d55ae 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 [ "$1" = "/srv/jenkins/bin/reproducible_info.sh" ] ; then +elif [ "$0" = "/srv/jenkins/bin/reproducible_info.sh" ] ; 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"; -- cgit v1.2.3-70-g09d2