Skip to content

Commit 09f4d04

Browse files
committed
[LLVM Project] Fix the update-checkout to use SWIFT_SOURCE_ROOT
1 parent e25042f commit 09f4d04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/update_checkout/update_checkout/update_checkout.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,10 +415,10 @@ def symlink_llvm_monorepo(args):
415415
'libcxx',
416416
'clang-tools-extra']
417417
for project in llvm_projects:
418-
src_path = os.path.join(args.source_root,
418+
src_path = os.path.join(SWIFT_SOURCE_ROOT,
419419
'llvm-project',
420420
project)
421-
dst_path = os.path.join(args.source_root, project)
421+
dst_path = os.path.join(SWIFT_SOURCE_ROOT, project)
422422
if not os.path.islink(dst_path):
423423
os.symlink(src_path, dst_path)
424424

0 commit comments

Comments
 (0)