diff options
author | Yifan Hong <elsk@google.com> | 2022-04-26 00:14:44 +0000 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2022-04-26 00:14:44 +0000 |
commit | e23b37a27ac5509d85e3ca036c8db3bd136a4559 (patch) | |
tree | f0fe8e61999ef360836d482939fb9095ddc514ea | |
parent | 3f5307f3451087ff87728861fca3c594d1589020 (diff) | |
download | bazel_common_rules-e23b37a27ac5509d85e3ca036c8db3bd136a4559.tar.gz |
Revert "dist: copy dir allow dir to already exist & don't copy permissions"
This reverts commit 3f5307f3451087ff87728861fca3c594d1589020.
Reason for revert: breaks ABI build
Change-Id: I2a43c416e57e72adde76fe51418f4e8fa44f189c
-rw-r--r-- | dist/dist.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/dist.py b/dist/dist.py index 39d3c12..c6d3f13 100644 --- a/dist/dist.py +++ b/dist/dist.py @@ -72,7 +72,7 @@ def copy_files_to_dist_dir(files, archives, dist_dir, flat, prefix, shutil.copyfile(src_abspath, dst, follow_symlinks=True) elif os.path.isdir(src): print("[dist] Copying dir: %s" % dst) - shutil.copytree(src_abspath, dst, copy_function=shutil.copyfile, dirs_exist_ok=True) + shutil.copytree(src_abspath, dst) for archive in archives: try: |