summaryrefslogtreecommitdiffstats
path: root/update_jdn.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update_jdn.sh')
-rwxr-xr-xupdate_jdn.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index ddee8478..e494b3cf 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -266,7 +266,8 @@ explain "Updated user content for Jenkins."
#
cd /srv/jenkins/job-cfg
for metaconfig in *.yaml.py ; do
- python $metaconfig > $TMPFILE
+# there are both python2 and python3 scripts here
+ ./$metaconfig > $TMPFILE
if ! $(diff ${metaconfig%.py} $TMPFILE > /dev/null) ; then
cp $TMPFILE ${metaconfig%.py}
fi