[Qa-jenkins-scm] [jenkins.debian.net] 01/01: fixup. (this commit has two: logic and important whitespace fix)

Holger Levsen holger at layer-acht.org
Fri Dec 23 14:13:51 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 1ac59c6fb4ec1e04f68ed64d0522b70db25ccab1
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Dec 23 15:13:44 2016 +0100

    fixup. (this commit has two: logic and important whitespace fix)
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 update_jdn.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/update_jdn.sh b/update_jdn.sh
index f2db63d..2a8452f 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -93,7 +93,7 @@ users=$(for i in ${!user_host_groups[@]}; do echo ${i%,*} ; done | sort -u)
 
 ( $UP2DATE && [ -z $(find authorized_keys -newer $0) ] ) || 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
-	if [ ! -v user_host_groups["$user","$HOSTNAME"] ] && [ ! -v user_host_groups["$user",'*'] ] && [ -v user_host_groups["$user", "$DPKG_ARCH"] ] ; then
+	if [ ! -v user_host_groups["$user","$HOSTNAME"] ] && [ ! -v user_host_groups["$user",'*'] ] && [ ! -v user_host_groups["$user","$DPKG_ARCH"] ] ; then
 		continue
 	fi
 

-- 
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