We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76a5896 commit c1cb8eeCopy full SHA for c1cb8ee
utils/update_checkout/update_checkout/update_checkout.py
@@ -413,7 +413,15 @@ def symlink_llvm_monorepo(args):
413
project)
414
dst_path = os.path.join(args.source_root, project)
415
if not os.path.islink(dst_path):
416
- os.symlink(src_path, dst_path)
+ try:
417
+ os.symlink(src_path, dst_path)
418
+ except OSError as e:
419
+ if e.errno == 17:
420
+ print("File '%s' already exists. Remove it, so "
421
+ "update-checkout can create the symlink to the "
422
+ "llvm-monorepo." % dst_path)
423
+ else:
424
+ raise e
425
426
427
def main():
0 commit comments