aboutsummaryrefslogtreecommitdiff
path: root/pkg/mappings.bzl
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/mappings.bzl')
-rw-r--r--pkg/mappings.bzl2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/mappings.bzl b/pkg/mappings.bzl
index 704a8db..d5a96a0 100644
--- a/pkg/mappings.bzl
+++ b/pkg/mappings.bzl
@@ -298,7 +298,7 @@ def _pkg_files_impl(ctx):
target = file_to_target[src]
runfiles = target[DefaultInfo].default_runfiles
if runfiles:
- base_path = src_dest_paths_map[src] + ".runfiles"
+ base_path = src_dest_paths_map[src] + ".runfiles/" + ctx.workspace_name
for rf in runfiles.files.to_list():
dest_path = paths.join(base_path, rf.short_path)