Hopefully beat the OSX build into working.

This commit is contained in:
David Given
2025-04-24 01:16:54 +02:00
parent 42aec98368
commit 8a2a58b1a5
4 changed files with 65 additions and 39 deletions

View File

@@ -26,7 +26,7 @@ def main():
print("link", sf)
os.makedirs(dirname(sf), exist_ok=True)
try:
os.link(abspath(f), sf)
os.symlink(abspath(f), sf)
except PermissionError:
shutil.copy(f, sf)