[Qa-jenkins-scm]  [jenkins.debian.net] 01/01: fix typo…
    Mattia Rizzolo 
    mattia at debian.org
       
    Sat Apr  7 14:17:20 UTC 2018
    
    
  
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch master
in repository jenkins.debian.net.
commit 31bcfcd2c9009f49bd8ed22e50ea459e696ab603
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Sat Apr 7 16:17:12 2018 +0200
    fix typo…
    
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 update_jdn.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/update_jdn.sh b/update_jdn.sh
index 1a983a2..179236e 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -543,15 +543,15 @@ fi
 # deploy package configuration in /etc and /usr
 #
 cd $BASEDIR
-for h in common "$SHOSTNAME" ; do
+for h in common "$HOSTNAME" ; do
 	if [ -d "hosts/$h/etc/sudoers.d/" ]; then
 		for f in "hosts/$h/etc/sudoers.d/"* ; do
 			/usr/sbin/visudo -c -f "$f"
 		done
 	fi
 	for d in etc usr ; do
-		if [ -d "hosts/$i/$d" ]; then
-			sudo cp --preserve=mode,timestamps -r "hosts/$i/$d/"* "/$d"
+		if [ -d "hosts/$h/$d" ]; then
+			sudo cp --preserve=mode,timestamps -r "hosts/$h/$d/"* "/$d"
 		fi
 	done
 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