diff options
author | Dan Willemsen <dwillemsen@google.com> | 2019-11-18 19:13:53 +0000 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2019-11-18 19:13:56 +0000 |
commit | 1c504d9c7e9b6974dfa4b2dc5046f5a205c3d536 (patch) | |
tree | 3e34462d9414189cedb4665203c9a4e70cf459d3 /ui | |
parent | a3ab1a927e69395f46594254792132fd018db322 (diff) | |
download | build_soong-1c504d9c7e9b6974dfa4b2dc5046f5a205c3d536.tar.gz build_soong-1c504d9c7e9b6974dfa4b2dc5046f5a205c3d536.tar.bz2 build_soong-1c504d9c7e9b6974dfa4b2dc5046f5a205c3d536.zip |
Remove BASH_ENV from the build environment
This runs an arbitrary shell script for all non-interactive bash sessions, and we've got lots of those.
It was causing problems with Fedora 30, which triggers the `manpath` executable, which isn't available in our $PATH:
https://groups.google.com/d/msg/android-building/WqEyZQuxYtY/zDXl9irOCAAJ
Change-Id: If2f63bbbcc3accb8d239f93fa06823d301d69488
Diffstat (limited to 'ui')
-rw-r--r-- | ui/build/config.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/build/config.go b/ui/build/config.go index c8670ae2..876bfe02 100644 --- a/ui/build/config.go +++ b/ui/build/config.go @@ -144,6 +144,7 @@ func NewConfig(ctx Context, args ...string) Config { "DIST_DIR", // Variables that have caused problems in the past + "BASH_ENV", "CDPATH", "DISPLAY", "GREP_OPTIONS", |