mirror of
https://github.com/bazel-contrib/rules_foreign_cc
synced 2024-11-28 08:43:26 +00:00
Use shell function for copying directory contents to be multi-platform (#171)
This commit is contained in:
parent
f31530ab3d
commit
8e2cc0f83c
|
@ -34,7 +34,7 @@ def copy_directory(actions, orig_path, copy_path):
|
|||
file = dir_copy,
|
||||
script = "\n".join([
|
||||
"mkdir -p $EXT_BUILD_ROOT/" + dir_copy.path,
|
||||
"cp -L -r --no-target-directory {} $EXT_BUILD_ROOT/{}".format(
|
||||
"copy_dir_contents_to_dir {} $EXT_BUILD_ROOT/{}".format(
|
||||
orig_path,
|
||||
dir_copy.path,
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue