[Qa-jenkins-scm] [jenkins.debian.net] 01/01: update_jdn: fix syntax indeed, because bash is not zsh

Mattia Rizzolo mattia at debian.org
Sat Apr 7 02:37:16 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 defa22391c71bb4e9cacd414415ad318bb415372
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Sat Apr 7 04:36:18 2018 +0200

    update_jdn: fix syntax indeed, because bash is not zsh
    
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 update_jdn.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/update_jdn.sh b/update_jdn.sh
index f7333ff..7668ef9 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -613,7 +613,7 @@ explain "packages configured."
 cd $BASEDIR
 [ -d /srv/jenkins/features ] && sudo rm -rf /srv/jenkins/features
 # check for bash syntax *before* actually deploying anything
-for f in bin/**/*.sh ; do bash -n "$f" ; done
+for f in bin/*.sh bin/**/*.sh ; do bash -n "$f" ; done
 for dir in bin logparse live mustache-templates ; do
 	sudo mkdir -p /srv/jenkins/$dir
 	sudo rsync -rpt --delete $dir/ /srv/jenkins/$dir/

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