Skip to content

Commit b296b3e

Browse files
authored
.
1 parent 1230af9 commit b296b3e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

merge.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def main(argv):
1818
for index, repo in enumerate(repos):
1919
file = sdl3.SDL_BINARY_PATTERNS[sdl3.SDL_SYSTEM][0].format(binaries[index])
2020
path = os.path.join(workDir, repo, "build", *(["Release", file] if sdl3.SDL_SYSTEM in ["Windows"] else [file]))
21-
shutil.copyfile(path, os.path.join(workDir, outDir, file))
21+
if os.path.exists(path): shutil.copyfile(path, os.path.join(workDir, outDir, file))
2222

2323
with zipfile.ZipFile(f"{outDir}.zip", "w", zipfile.ZIP_DEFLATED) as ref:
2424
for root, _, files in os.walk(outDir):
@@ -28,4 +28,4 @@ def main(argv):
2828
return 0
2929

3030
if __name__ == "__main__":
31-
sys.exit(main(sys.argv))
31+
sys.exit(main(sys.argv))

0 commit comments

Comments
 (0)