diff options
author | Daniel Shahaf <danielsh@apache.org> | 2016-11-19 09:22:27 +0000 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-11-19 10:35:00 +0100 |
commit | 0229ad55e383ec0a7ed6f08444000a4324ecb676 (patch) | |
tree | 25b817dba00be8d60085d3f7205f8be083925534 /bin | |
parent | 58a3551803b68cfbcf05682bcc507b280783c859 (diff) | |
download | jenkins.debian.net-0229ad55e383ec0a7ed6f08444000a4324ecb676.tar.xz |
reproducible Debian: don't split arguments having embedded spaces
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_schedule_on_demand.sh | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/bin/reproducible_schedule_on_demand.sh b/bin/reproducible_schedule_on_demand.sh index 77a7b321..718c13d4 100755 --- a/bin/reproducible_schedule_on_demand.sh +++ b/bin/reproducible_schedule_on_demand.sh @@ -13,12 +13,10 @@ else exit 1 fi +export LC_USER="$REQUESTER" +export LOCAL_CALL="true" if [ -z "$1" ] ; then - PARAMS="--help" + /srv/jenkins/bin/reproducible_remote_scheduler.py --help else - PARAMS="$@" + /srv/jenkins/bin/reproducible_remote_scheduler.py "$@" fi - -LC_USER="$REQUESTER" \ -LOCAL_CALL="true" \ -/srv/jenkins/bin/reproducible_remote_scheduler.py $PARAMS |