summaryrefslogtreecommitdiffstats
path: root/deploy_jdn
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-04-29 15:57:04 +0200
committerHolger Levsen <holger@layer-acht.org>2017-04-29 15:57:04 +0200
commitc9ca2af8a2e07965ca472918769c728b385dbe44 (patch)
treeb758463d86cb1a41afb9f1f67fae81a4b7ccbbce /deploy_jdn
parentd3636e6c2cb3c09ee2cd839ee183a755335d4d89 (diff)
downloadjenkins.debian.net-c9ca2af8a2e07965ca472918769c728b385dbe44.tar.xz
loop through hosts in reverse order
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'deploy_jdn')
-rwxr-xr-xdeploy_jdn5
1 files changed, 5 insertions, 0 deletions
diff --git a/deploy_jdn b/deploy_jdn
index 765bcf97..3dbb20cb 100755
--- a/deploy_jdn
+++ b/deploy_jdn
@@ -168,6 +168,11 @@ get_arch_color() {
}
LOG=$(mktemp -u)
+STSOH=""
+for i in $HOSTS ; do
+ STSOH="$i $STSOH"
+done
+HOSTS=$STSOH
for i in $HOSTS ; do
echo -n "."
command="$real_command"