1
Fork 0

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:
Waffle Lapkin 2025-04-14 15:32:34 +02:00
parent 30f168ef81
commit d5de2fa8bb
No known key found for this signature in database

View file

@ -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()