summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xupdate_jdn.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index 846d29dc..e1132263 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -498,6 +498,7 @@ if [ "$HOSTNAME" = "jenkins" ] || [ "$HOSTNAME" = "jenkins-test-vm" ] ; then
cd /srv/jenkins/job-cfg
for metaconfig in *.yaml.py ; do
# there are both python2 and python3 scripts here
+ [ -e ./$metaconfig ] || continue
./$metaconfig > $TMPFILE
if ! sudo -u jenkins-adm cmp -s ${metaconfig%.py} - < $TMPFILE ; then
sudo -u jenkins-adm tee ${metaconfig%.py} > /dev/null < $TMPFILE