summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_schedule_on_demand.sh
diff options
context:
space:
mode:
authorDaniel Shahaf <danielsh@apache.org>2016-11-19 09:22:27 +0000
committerHolger Levsen <holger@layer-acht.org>2016-11-19 10:35:00 +0100
commit0229ad55e383ec0a7ed6f08444000a4324ecb676 (patch)
tree25b817dba00be8d60085d3f7205f8be083925534 /bin/reproducible_schedule_on_demand.sh
parent58a3551803b68cfbcf05682bcc507b280783c859 (diff)
downloadjenkins.debian.net-0229ad55e383ec0a7ed6f08444000a4324ecb676.tar.xz
reproducible Debian: don't split arguments having embedded spaces
Diffstat (limited to 'bin/reproducible_schedule_on_demand.sh')
-rwxr-xr-xbin/reproducible_schedule_on_demand.sh10
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