From 1c504d9c7e9b6974dfa4b2dc5046f5a205c3d536 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Mon, 18 Nov 2019 19:13:53 +0000 Subject: [PATCH] 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 --- ui/build/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/build/config.go b/ui/build/config.go index c8670ae2e..876bfe024 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",