mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-10 04:30:12 +02:00
Allow dashes in Wine release candidate versions
Wine-tkg builds don't seem to have the dash, winehq-devel builds do.
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 -E '[0-9]+\.[0-9]+(rc[0-9]+)?' | head -n1''',
|
'sh', '-c', '''wine --version | grep --only-matching -E '[0-9]+\.[0-9]+(-?rc[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