2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2024-11-25 11:19:39 +01:00

Merge branch 'fix-cwd-path'

This commit is contained in:
Andrey Akhmichin 2024-01-12 22:07:55 +05:00
commit 32b49f4879

View File

@ -211,7 +211,7 @@ def configure(conf):
conf.msg(msg='-> processing mod options', result='...', color='BLUE') conf.msg(msg='-> processing mod options', result='...', color='BLUE')
regex = re.compile('^([A-Za-z0-9_]+)=([A-Za-z0-9_]+)\ \#\ (.*)$') regex = re.compile('^([A-Za-z0-9_]+)=([A-Za-z0-9_]+)\ \#\ (.*)$')
with open('mod_options.txt') as fd: with open(str(conf.path.make_node('mod_options.txt'))) as fd:
lines = fd.readlines() lines = fd.readlines()
for line in lines: for line in lines:
m = regex.match(line.strip()) m = regex.match(line.strip())