Skip to content

Commit

Permalink
wscript: get node path from waf instead of using relative path
Browse files Browse the repository at this point in the history
  • Loading branch information
mittorn committed Oct 31, 2023
1 parent 3cf40cc commit 3b2ba69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wscript
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def configure(conf):

conf.msg(msg='-> processing mod options', result='...', color='BLUE')
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()
for line in lines:
m = regex.match(line.strip())
Expand Down

0 comments on commit 3b2ba69

Please sign in to comment.