1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-01-30 19:52:17 +01:00

Fix regex backslash escaping in build script

This commit is contained in:
Nick Hastings 2023-10-14 12:54:09 -04:00
parent f71a1d37ec
commit 65ef24fe47

View File

@ -66,7 +66,7 @@ class MMSConfig(object):
import re
with open(os.path.join(builder.sourcePath, 'product.version'), 'r') as fp:
productContents = fp.read()
m = re.match('(\d+)\.(\d+)\.(\d+).*', productContents)
m = re.match(r'(\d+)\.(\d+)\.(\d+).*', productContents)
if m == None:
self.productVersion = '1.0.0'
else: