[Qa-jenkins-scm] [jenkins.debian.net] 01/01: update_jdn: keep trying to be more future-proof, imaging shell script in subdirs not yet existing...
Mattia Rizzolo
mattia at debian.org
Sat Apr 7 02:44:52 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 cd4b1ceafde2a9bc086737adc32423ef45c7f5b1
Author: Mattia Rizzolo <mattia at debian.org>
Date: Sat Apr 7 04:44:09 2018 +0200
update_jdn: keep trying to be more future-proof, imaging shell script in subdirs not yet existing...
Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
update_jdn.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/update_jdn.sh b/update_jdn.sh
index 7668ef9..c329233 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -613,7 +613,9 @@ explain "packages configured."
cd $BASEDIR
[ -d /srv/jenkins/features ] && sudo rm -rf /srv/jenkins/features
# check for bash syntax *before* actually deploying anything
+shopt -s nullglob
for f in bin/*.sh bin/**/*.sh ; do bash -n "$f" ; done
+shopt -u nullglob
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