mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-25 19:30:04 +01:00
Workaround for msys2 inconsistent handling of slash characters
MINGW64 /C/msys2/demos/c $ python -c "import os;print(os.getcwd())" C:\msys2\demos\c MINGW64 /C/msys2/demos/c $ python3 -c "import os;print(os.getcwd())" C:/msys2/demos/c
This commit is contained in:
parent
f340819d50
commit
6c5afc45b1
@ -141,7 +141,7 @@ def waf_entry_point(current_directory, version, wafdir):
|
||||
sys.exit(1)
|
||||
|
||||
try:
|
||||
set_main_module(os.path.join(Context.run_dir, Context.WSCRIPT_FILE))
|
||||
set_main_module(os.path.normpath(os.path.join(Context.run_dir, Context.WSCRIPT_FILE)))
|
||||
except Errors.WafError as e:
|
||||
Logs.pprint('RED', e.verbose_msg)
|
||||
Logs.error(str(e))
|
||||
|
Loading…
Reference in New Issue
Block a user