From 2192cc4ed8a187f46093e1907d394fe6da93433d Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Wed, 3 Jun 2015 23:52:30 +0200 Subject: update_jdn: execute the python scripts without calling directly the interpreter. allow both py2 and py3 scripts --- update_jdn.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-54-g00ecf