aboutsummaryrefslogtreecommitdiff
path: root/infra/build_specified_commit.py
diff options
context:
space:
mode:
authorOliver Chang <oliverchang@users.noreply.github.com>2020-04-15 12:24:10 +1000
committerGitHub <noreply@github.com>2020-04-15 12:24:10 +1000
commitd22704877b7034d7d0b50756bd14d8648943b140 (patch)
treed7f9e570521e4e1b69afac9d032e88f1e8398cb0 /infra/build_specified_commit.py
parent0fc3d4f9411236c8958584f6600aa52ad35678a4 (diff)
downloadoss-fuzz-d22704877b7034d7d0b50756bd14d8648943b140.tar.gz
bisector: Preserve file metadata when copying /src to host. (#3649)
Otherwise changed timestamps may cause build issues.
Diffstat (limited to 'infra/build_specified_commit.py')
-rw-r--r--infra/build_specified_commit.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/infra/build_specified_commit.py b/infra/build_specified_commit.py
index f4134ab86..1cabcd79b 100644
--- a/infra/build_specified_commit.py
+++ b/infra/build_specified_commit.py
@@ -39,6 +39,7 @@ def copy_src_from_docker(project_name, host_dir):
image_name,
'cp',
'-r',
+ '-p',
'/src',
'/out',
]