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:
commit
32b49f4879
2
wscript
2
wscript
@ -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())
|
||||||
|
Loading…
Reference in New Issue
Block a user