summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-01 18:18:27 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-01 18:18:27 +0200
commitf5b2135d8cd701fb8845bd621d9bd6a0b0b51491 (patch)
tree02e9b0ae96dbd51a179ea482402a7af86ee45adc
parent870929c532ed0c29c777c93d6b0c26e5eaaa908c (diff)
downloadjenkins.debian.net-f5b2135d8cd701fb8845bd621d9bd6a0b0b51491.tar.xz
make more robust
-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 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