mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-20 02:13:56 +02:00
Change grep -P to grep -E
Lookaround is no longer needed here, so we don't need PCRE anymore.
This commit is contained in:
+1
-1
@@ -151,7 +151,7 @@ endif
|
|||||||
#
|
#
|
||||||
# https://bugs.winehq.org/show_bug.cgi?id=49138
|
# https://bugs.winehq.org/show_bug.cgi?id=49138
|
||||||
wine_version = run_command(
|
wine_version = run_command(
|
||||||
'sh', '-c', '''wine --version | grep --only-matching -P '[0-9]+\.[0-9]+' | head -n1''',
|
'sh', '-c', '''wine --version | grep --only-matching -E '[0-9]+\.[0-9]+' | head -n1''',
|
||||||
check : false
|
check : false
|
||||||
)
|
)
|
||||||
if wine_version.returncode() == 0
|
if wine_version.returncode() == 0
|
||||||
|
|||||||
Reference in New Issue
Block a user