File: change-sysmtem-rc-file-location.patch

package info (click to toggle)
bazel-bootstrap 4.2.3%2Bds-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 85,704 kB
  • sloc: java: 721,717; sh: 55,859; cpp: 35,360; python: 12,139; xml: 295; objc: 269; makefile: 113; ansic: 106; ruby: 3
file content (18 lines) | stat: -rw-r--r-- 727 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Change system rc file location
 Prevent config file conflicts with user Bazel installations.
Author: Yun Peng <pcloudy@google.com>
Origin: upstream, https://salsa.debian.org/bazel-team/bazel-bootstrap/-/commit/3f57d658ec8818e37a1519eee824f13d7ec6a4e2
Forwarded: not-needed
Last-Update: 2020-08-17

--- a/src/main/cpp/BUILD
+++ b/src/main/cpp/BUILD
@@ -162,7 +162,7 @@
         # For posix platforms, this can include environment variables in the
         # form ${var_name}. Braces are required.
         "//conditions:default": [
-            "-DBAZEL_SYSTEM_BAZELRC_PATH=\\\"/etc/bazel.bazelrc\\\"",
+            "-DBAZEL_SYSTEM_BAZELRC_PATH=\\\"/etc/bazel/bazelrc\\\"",
         ],
     }),
     visibility = [