Shorten the paths used for --run to make them more easily reusable
This commit is contained in:
parent
396c477f2d
commit
3395d0a0f2
1 changed files with 1 additions and 0 deletions
1
wscript
1
wscript
|
@ -395,6 +395,7 @@ def shutdown ():
|
|||
os.chdir ('..')
|
||||
elif Options.options.run:
|
||||
folder = os.path.dirname (Build.bld.env['waf_config_files'][0])
|
||||
folder = os.path.relpath (folder)
|
||||
try:
|
||||
ext = 'MIDORI_EXTENSION_PATH=' + folder + os.sep + 'extensions'
|
||||
nls = 'NLSPATH=' + folder + os.sep + 'po'
|
||||
|
|
Loading…
Reference in a new issue