diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/contrib/convert-overrides.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/contrib/convert-overrides.py b/scripts/contrib/convert-overrides.py index 8cdcf208bc..e4a310d1d6 100755 --- a/scripts/contrib/convert-overrides.py +++ b/scripts/contrib/convert-overrides.py | |||
@@ -69,11 +69,11 @@ packagevars = packagevars + imagevars | |||
69 | 69 | ||
70 | vars_re = {} | 70 | vars_re = {} |
71 | for exp in vars: | 71 | for exp in vars: |
72 | vars_re[exp] = (re.compile('((^|[\'"\s\-\+])[A-Za-z0-9_\-:${}]+)_' + exp), r"\1:" + exp) | 72 | vars_re[exp] = (re.compile('((^|[\'"\s\-\+])[A-Za-z0-9_\-:${}\.]+)_' + exp), r"\1:" + exp) |
73 | 73 | ||
74 | shortvars_re = {} | 74 | shortvars_re = {} |
75 | for exp in shortvars: | 75 | for exp in shortvars: |
76 | shortvars_re[exp] = (re.compile('((^|[\'"\s\-\+])[A-Za-z0-9_\-:${}]+)_' + exp + '([\(\'"\s:])'), r"\1:" + exp + r"\3") | 76 | shortvars_re[exp] = (re.compile('((^|[\'"\s\-\+])[A-Za-z0-9_\-:${}\.]+)_' + exp + '([\(\'"\s:])'), r"\1:" + exp + r"\3") |
77 | 77 | ||
78 | package_re = {} | 78 | package_re = {} |
79 | for exp in packagevars: | 79 | for exp in packagevars: |
@@ -122,7 +122,7 @@ def processfile(fn): | |||
122 | pass | 122 | pass |
123 | 123 | ||
124 | ourname = os.path.basename(sys.argv[0]) | 124 | ourname = os.path.basename(sys.argv[0]) |
125 | ourversion = "0.9.2" | 125 | ourversion = "0.9.3" |
126 | 126 | ||
127 | if os.path.isfile(sys.argv[1]): | 127 | if os.path.isfile(sys.argv[1]): |
128 | processfile(sys.argv[1]) | 128 | processfile(sys.argv[1]) |