[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: show help by default

Holger Levsen holger at layer-acht.org
Mon Nov 7 13:10:09 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 1f4b35e06d7ff3629d8f04a8aebc98cccd7a1905
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Nov 7 14:10:03 2016 +0100

    reproducible Debian: show help by default
---
 bin/reproducible_schedule_on_demand.sh | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/bin/reproducible_schedule_on_demand.sh b/bin/reproducible_schedule_on_demand.sh
index 27bb0fb..8358319 100755
--- a/bin/reproducible_schedule_on_demand.sh
+++ b/bin/reproducible_schedule_on_demand.sh
@@ -13,6 +13,12 @@ else
 	exit 1
 fi
 
+if [ "$@" = "" ] ; then
+	PARAMS = "--help"
+else
+	PARAMS = "$@"
+fi
+
 LC_USER="$REQUESTER" \
 LOCAL_CALL="true" \
-/srv/jenkins/bin/reproducible_remote_scheduler.py "$@"
+/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