summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-11-07 14:10:03 +0100
committerHolger Levsen <holger@layer-acht.org>2016-11-07 14:10:03 +0100
commit1f4b35e06d7ff3629d8f04a8aebc98cccd7a1905 (patch)
tree164aef114532ab6910439aecad45b47ca20b3968
parent9892ed9113288601902e8c1995c9e77fbdec8477 (diff)
downloadjenkins.debian.net-1f4b35e06d7ff3629d8f04a8aebc98cccd7a1905.tar.xz
reproducible Debian: show help by default
-rwxr-xr-xbin/reproducible_schedule_on_demand.sh8
1 files changed, 7 insertions, 1 deletions
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