diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-09-01 18:18:27 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-09-01 18:18:27 +0200 |
commit | f5b2135d8cd701fb8845bd621d9bd6a0b0b51491 (patch) | |
tree | 02e9b0ae96dbd51a179ea482402a7af86ee45adc | |
parent | 870929c532ed0c29c777c93d6b0c26e5eaaa908c (diff) | |
download | jenkins.debian.net-f5b2135d8cd701fb8845bd621d9bd6a0b0b51491.tar.xz |
make more robust
-rwxr-xr-x | bin/jenkins_node_wrapper.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/jenkins_node_wrapper.sh b/bin/jenkins_node_wrapper.sh index 5760462d..dcd644e5 100755 --- a/bin/jenkins_node_wrapper.sh +++ b/bin/jenkins_node_wrapper.sh @@ -66,7 +66,7 @@ elif [[ "$0" =~ rebootstrap_.* ]] ; then REBOOTSTRAPSH="/srv/jenkins/bin/chroot-run.sh sid minimal ./bootstrap.sh" shift export LC_ALL=C - exec $REBOOTSTRAPSH "$@"; croak "Exec failed"; + exec "$REBOOTSTRAPSH $@"; 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"; elif [[ "$*" =~ rsync\ --server\ --sender\ .*\ .\ /srv/reproducible-results/tmp.* ]] ; then |