From 1f4b35e06d7ff3629d8f04a8aebc98cccd7a1905 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 7 Nov 2016 14:10:03 +0100 Subject: reproducible Debian: show help by default --- bin/reproducible_schedule_on_demand.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (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 27bb0fbc..8358319b 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 -- cgit v1.2.3-54-g00ecf