summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xupdate_jdn.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index 5130b4bb..28fb2ef1 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -260,7 +260,7 @@ STAMP=/var/log/jenkins/jobs-updated.stamp
cd /srv/jenkins/job-cfg
for metaconfig in *.yaml.py ; do
python $metaconfig > $TMPFILE
- if ! $(diff $metaconfig $TMPFILE > /dev/null) ; then
+ if ! $(diff ${metaconfig%.py} $TMPFILE > /dev/null) ; then
cp $TMPFILE ${metaconfig%.py}
fi
done