From 64a249a4bf39aa14fea28c3c38c90b1fef4ab749 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 3 Aug 2016 23:58:08 +0200 Subject: change order, so that 'nojenkins pb4' works --- deploy_everywhere | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy_everywhere b/deploy_everywhere index 489c2ca8..59ccf59d 100755 --- a/deploy_everywhere +++ b/deploy_everywhere @@ -68,6 +68,9 @@ elif [ "$1" = "check" ] ; then real_command="pgrep -l -a -f _build.sh" reset_clock=false shift +elif [ "$1" = "nojenkins" ]; then + HOSTS="$2" + echo -n "Running j.d.n.git ('$real_command') updates on $HOSTS now" elif [ "$1" = "only" ] || [ "$1" = "jenkins" ] ; then export HOSTS="root@jenkins.debian.net" case $2 in @@ -82,9 +85,6 @@ elif [ "$1" = "only" ] || [ "$1" = "jenkins" ] ; then 10|pb10) HOSTS="$HOSTS profitbricks-build10-amd64.debian.net" ;; esac echo -n "Running j.d.n.git ('$real_command') updates on $HOSTS now" -elif [ "$1" = "nojenkins" ]; then - HOSTS="$2" - echo -n "Running j.d.n.git ('$real_command') updates on $HOSTS now" else real_command="$@" echo -n "Running '$real_command' on $HOSTS now." -- cgit v1.2.3-54-g00ecf