[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: don't split arguments having embedded spaces

Holger Levsen holger at layer-acht.org
Sat Nov 19 09:35:30 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 0229ad55e383ec0a7ed6f08444000a4324ecb676
Author: Daniel Shahaf <danielsh at apache.org>
Date:   Sat Nov 19 09:22:27 2016 +0000

    reproducible Debian: don't split arguments having embedded spaces
---
 bin/reproducible_schedule_on_demand.sh | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/bin/reproducible_schedule_on_demand.sh b/bin/reproducible_schedule_on_demand.sh
index 77a7b32..718c13d 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list