check_source.sh: fix sed error: -e expression #1, char 25: Invalid range end
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>
Mon, 18 Mar 2019 12:09:41 +0300
changeset 2547 fc7de3c128cd
parent 2546 f5dae7b85906
child 2548 82c10dcec29c
check_source.sh: fix sed error: -e expression #1, char 25: Invalid range end

Warning happen only if old sed (4.4) is used.
tests/tools/check_source.sh
--- a/tests/tools/check_source.sh	Mon Mar 18 12:07:49 2019 +0300
+++ b/tests/tools/check_source.sh	Mon Mar 18 12:09:41 2019 +0300
@@ -445,7 +445,7 @@
         exit 0;
     fi
 
-    py3_files=$(echo $py_files | sed 's/ [a-Z\/\.]*pyjslib.py//')
+    py3_files=$(echo $py_files | sed 's/ [[:alnum:]_\-\/.]*pyjslib.py//')
 }