tests/tools/check_source.sh
changeset 2535 0fab0af57950
parent 2457 9deec258ab1a
child 2547 fc7de3c128cd
--- a/tests/tools/check_source.sh	Wed Mar 13 09:56:37 2019 +0300
+++ b/tests/tools/check_source.sh	Wed Mar 13 10:02:11 2019 +0300
@@ -66,7 +66,7 @@
     # remove compiled Python files
     find . -name '*.pyc' -exec rm -f {} \;
 
-    for i in $py_files; do
+    for i in $py3_files; do
         # echo $i
         python3 -m py_compile $i
         if [ $? -ne 0 ]; then
@@ -444,6 +444,8 @@
         echo "No files to check"
         exit 0;
     fi
+
+    py3_files=$(echo $py_files | sed 's/ [a-Z\/\.]*pyjslib.py//')
 }