| commit | fa465f6f6216c5a3202964edf78e085cb19d5195 | [log] [tgz] |
|---|---|---|
| author | Damien Martin-Guillerez <dmarting@google.com> | Mon Feb 15 14:43:02 2016 +0000 |
| committer | Damien Martin-Guillerez <dmarting@google.com> | Tue Feb 16 09:39:53 2016 +0000 |
| tree | 3d89681133e7d6c57df8e26f77ffb36375782593 | |
| parent | a4ba24e286b7e9a7a09e333d8eb64a8cf7e81895 [diff] |
installer: set permission of bazelrc to 0644 So that bazel can read it. Fixes #894. -- MOS_MIGRATED_REVID=114689351
diff --git a/scripts/packages/template_bin.sh b/scripts/packages/template_bin.sh index 3a2901a..e852fd5 100755 --- a/scripts/packages/template_bin.sh +++ b/scripts/packages/template_bin.sh
@@ -166,6 +166,9 @@ # Not necessary, but this way it matches the Debian package. touch "${bazelrc}" +if [ "${UID}" == 0 ]; then + chmod 0644 "${bazelrc}" +fi echo . cat <<EOF