aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/native
diff options
context:
space:
mode:
authorGravatar Kamal Marhubi <kamal@marhubi.com>2015-12-04 16:59:07 +0000
committerGravatar Kristina Chodorow <kchodorow@google.com>2015-12-04 21:06:51 +0000
commit0e222581e674b0f7c186c4bc40be2af680e94643 (patch)
tree5ad198afcd208cdd841b65825e0cca7654fdc699 /src/main/native
parentdf4194f47f2e1777301071b48dedf9a80b2264b8 (diff)
docker_build: Properly handle / as data_path
The handling in _compute_data_path would incorrectly result in an empty strip_prefix being passed to _dest_path. The outcome was all files would end up at the top of directory, instead of nested according to the repository structure. This change brings the behavior in line with the documentation, which states: > This path can be absolute from the workspace root if starting with a > `/` or relative to the rule's directory. Fixes https://github.com/bazelbuild/bazel/issues/677 -- Change-Id: Ifdab97ed0e851cf6cabc7bd3206343766861b725 Reviewed-on: https://bazel-review.googlesource.com/#/c/2480 MOS_MIGRATED_REVID=109418486
Diffstat (limited to 'src/main/native')
0 files changed, 0 insertions, 0 deletions