diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2021-07-30 12:23:07 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-30 11:31:09 +0100 |
| commit | 812ca4cc9120ce6d0fa9c669908b9b5b5afd682c (patch) | |
| tree | 22b2cc641813f045e34acf9a7410addb456270b4 /scripts/contrib | |
| parent | 6c6dc194679ec907b77e4d792176ac0b84eaa38d (diff) | |
| download | poky-812ca4cc9120ce6d0fa9c669908b9b5b5afd682c.tar.gz | |
convert-overrides.py: 0.9.1 include '(' as delimiter for shortvars
(From OE-Core rev: ffe91649fafa84f814e32c9979e6a2de40a1bb25)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/contrib')
| -rwxr-xr-x | scripts/contrib/convert-overrides.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/contrib/convert-overrides.py b/scripts/contrib/convert-overrides.py index 057758f1bb..739fd53bdb 100755 --- a/scripts/contrib/convert-overrides.py +++ b/scripts/contrib/convert-overrides.py | |||
| @@ -74,7 +74,7 @@ for exp in vars: | |||
| 74 | 74 | ||
| 75 | shortvars_re = {} | 75 | shortvars_re = {} |
| 76 | for exp in shortvars: | 76 | for exp in shortvars: |
| 77 | shortvars_re[exp] = (re.compile('((^|[\'"\s])[A-Za-z0-9_\-:${}]+)_' + exp + '([\'"\s:])'), r"\1:" + exp + r"\3") | 77 | shortvars_re[exp] = (re.compile('((^|[\'"\s])[A-Za-z0-9_\-:${}]+)_' + exp + '([\(\'"\s:])'), r"\1:" + exp + r"\3") |
| 78 | 78 | ||
| 79 | package_re = {} | 79 | package_re = {} |
| 80 | for exp in packagevars: | 80 | for exp in packagevars: |
| @@ -123,7 +123,7 @@ def processfile(fn): | |||
| 123 | pass | 123 | pass |
| 124 | 124 | ||
| 125 | ourname = os.path.basename(sys.argv[0]) | 125 | ourname = os.path.basename(sys.argv[0]) |
| 126 | ourversion = "0.9.0" | 126 | ourversion = "0.9.1" |
| 127 | 127 | ||
| 128 | for root, dirs, files in os.walk(targetdir): | 128 | for root, dirs, files in os.walk(targetdir): |
| 129 | for name in files: | 129 | for name in files: |
