aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Brian Silverman <bsilver16384@gmail.com>2015-11-06 14:28:37 +0000
committerGravatar Florian Weikert <fwe@google.com>2015-11-06 16:40:08 +0000
commita2c60d0594545ec266b23cf0122d664397b69b77 (patch)
tree4139165984bff8a0679ab028c0790dcb2f463be0 /scripts
parent619ad608ef1270461aade6608ae5f1371009e4b9 (diff)
Fix bash completion script location in the Debian package
It was ending up installed as /bazel. Also, the documented way of telling pkg_tar not to strip off the prefix didn't work. -- Change-Id: I593d17690526c614697369cab543aff1ba67de0a Reviewed-on: https://bazel-review.googlesource.com/#/c/2222/ MOS_MIGRATED_REVID=107229260
Diffstat (limited to 'scripts')
-rw-r--r--scripts/packages/BUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/packages/BUILD b/scripts/packages/BUILD
index 0e47b20b6c..d9ac0ed675 100644
--- a/scripts/packages/BUILD
+++ b/scripts/packages/BUILD
@@ -71,6 +71,7 @@ pkg_tar(
name = "bazel-completion",
files = [":etc/bash_completion.d/bazel"],
mode = "0644",
+ strip_prefix = ".",
)
pkg_tar(