summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--android/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/config.go b/android/config.go
index ef5eadfb9..c10ad09ae 100644
--- a/android/config.go
+++ b/android/config.go
@@ -232,7 +232,7 @@ func TestConfig(buildDir string, env map[string]string, bp string, fs map[string
// Copy the real PATH value to the test environment, it's needed by
// NonHermeticHostSystemTool() used in x86_darwin_host.go
- envCopy["PATH"] = originalEnv["PATH"]
+ envCopy["PATH"] = os.Getenv("PATH")
config := &config{
productVariables: productVariables{