From 0229ad55e383ec0a7ed6f08444000a4324ecb676 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Sat, 19 Nov 2016 09:22:27 +0000 Subject: reproducible Debian: don't split arguments having embedded spaces --- bin/reproducible_schedule_on_demand.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'bin/reproducible_schedule_on_demand.sh') 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 -- cgit v1.2.3-54-g00ecf