use realpath
in bootstrap.py
when creating build-dir
this avoids crashes when `./build` is a symlink to a non-existent directory.
This commit is contained in:
parent
30f168ef81
commit
d5de2fa8bb
1 changed files with 1 additions and 1 deletions
|
@ -1298,7 +1298,7 @@ def bootstrap(args):
|
|||
build.check_vendored_status()
|
||||
|
||||
if not os.path.exists(build.build_dir):
|
||||
os.makedirs(build.build_dir)
|
||||
os.makedirs(os.path.realpath(build.build_dir))
|
||||
|
||||
# Fetch/build the bootstrap
|
||||
build.download_toolchain()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue