diff options
author | 2016-07-20 17:31:00 +0000 | |
---|---|---|
committer | 2016-07-20 19:53:52 +0000 | |
commit | 1c4ae47d2d1df697e1ac074b084b124da6ce5405 (patch) | |
tree | c5ac5aae79547bc06fb01d555854afd7721c08e2 /scripts/packages | |
parent | ec58d49b2764ef59d981bd65b31d7dc394db1bd9 (diff) |
Suggest using --user when the install directory isn't writable.
Fixes #1540.
--
Change-Id: I0f16bde6496f2abef8ba3d3562e62a1534c177ca
Reviewed-on: https://bazel-review.googlesource.com/#/c/4081/
MOS_MIGRATED_REVID=127960571
Diffstat (limited to 'scripts/packages')
-rwxr-xr-x | scripts/packages/template_bin.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/packages/template_bin.sh b/scripts/packages/template_bin.sh index 5323946cdd..ceb58c83de 100755 --- a/scripts/packages/template_bin.sh +++ b/scripts/packages/template_bin.sh @@ -86,6 +86,7 @@ test_write() { [ -w "${file}" ] || { echo >&2 echo "The Bazel installer must have write access to $1!" >&2 + echo "Consider using the --user flag to install Bazel under $HOME/bin instead." >&2 echo >&2 usage } |