[Qa-jenkins-scm] [jenkins.debian.net] 01/01: try more quotes

Holger Levsen holger at layer-acht.org
Thu Jul 14 13:10:07 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 e27ee1e024f2b824ae59311e5cb0f5ad37fc8f8e
Author: Holger Levsen <holger at layer-acht.org>
Date:   Thu Jul 14 15:09:57 2016 +0200

    try more quotes
---
 update_jdn.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/update_jdn.sh b/update_jdn.sh
index bb06948..a1d5f0d 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -92,7 +92,7 @@ $UP2DATE || for user in ${users}; do
 	# add groups: first try the specific host, or if unset fall-back to default '*' setting
 	for h in "$HOSTNAME" '*' ; do
 		if [ -v user_host_groups["$user","$h"] ] ; then
-			sudo usermod -G ${user_host_groups["$user","$h"]} $user
+			sudo usermod -G "${user_host_groups["$user","$h"]}" $user
 			break
 		fi
 	done

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