[Qa-jenkins-scm] [jenkins.debian.net] 01/01: update_jdn: address variable correctly
Holger Levsen
holger at layer-acht.org
Thu Jul 14 13:07:06 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 5772b48f5599c9bb629002a9f6b7c9db0b23c828
Author: Holger Levsen <holger at layer-acht.org>
Date: Thu Jul 14 15:07:01 2016 +0200
update_jdn: address variable correctly
---
update_jdn.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/update_jdn.sh b/update_jdn.sh
index 957a39c..2bd334f 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -79,7 +79,7 @@ u_shell['mattia']='/bin/zsh'
# get the users out of the user_host_groups array's index
users=$(for i in ${!user_host_groups[@]}; do echo ${i%,*} ; done | sort -u)
-$UP2DATE || for user in $users ; do
+$UP2DATE || for user in ${users}; do
# -v is a bashism to check for set variables, used here to see if this user is active on this host
[ -v user_host_groups["$user","$HOSTNAME"] -o -v user_host_groups["$user",'*'] ] || continue
--
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