diff options
| author | bors <bors@rust-lang.org> | 2014-01-04 03:56:55 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-01-04 03:56:55 -0800 |
| commit | 690e464444eb2330cdcea66eb5d1bc68c652c3db (patch) | |
| tree | 58d67d58806052758a6a0a55fef1c24fcbc2d634 /src | |
| parent | 239fb1f6ee3af1e9b5d5372a9edb2bb1de07e451 (diff) | |
| parent | f86d07998a2a80fcf9e69cca9d89c2ca4d982e02 (diff) | |
| download | rust-690e464444eb2330cdcea66eb5d1bc68c652c3db.tar.gz rust-690e464444eb2330cdcea66eb5d1bc68c652c3db.zip | |
auto merge of #11291 : brson/rust/copy-runtime-deps, r=alexcrichton
In copying the license for the third-party bins it is attempting to delete a directory that doesn't exist.
Diffstat (limited to 'src')
| -rw-r--r-- | src/etc/copy-runtime-deps.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/etc/copy-runtime-deps.py b/src/etc/copy-runtime-deps.py index 16155a99b69..4f4949e3c88 100644 --- a/src/etc/copy-runtime-deps.py +++ b/src/etc/copy-runtime-deps.py @@ -10,7 +10,8 @@ def copy_runtime_deps(dest_dir): shutil.copy(path, dest_dir) lic_dest = os.path.join(dest_dir, "third-party") - shutil.rmtree(lic_dest) # copytree() won't overwrite existing files + if os.path.exists(lic_dest): + shutil.rmtree(lic_dest) # copytree() won't overwrite existing files shutil.copytree(os.path.join(os.path.dirname(__file__), "third-party"), lic_dest) copy_runtime_deps(sys.argv[1]) |
