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 11ce6b7 commit f86d079Copy full SHA for f86d079
src/etc/copy-runtime-deps.py
@@ -10,7 +10,8 @@ def copy_runtime_deps(dest_dir):
10
shutil.copy(path, dest_dir)
11
12
lic_dest = os.path.join(dest_dir, "third-party")
13
- shutil.rmtree(lic_dest) # copytree() won't overwrite existing files
+ if os.path.exists(lic_dest):
14
+ shutil.rmtree(lic_dest) # copytree() won't overwrite existing files
15
shutil.copytree(os.path.join(os.path.dirname(__file__), "third-party"), lic_dest)
16
17
copy_runtime_deps(sys.argv[1])
0 commit comments