diff options
author | Patrice Arruda <patricearruda@google.com> | 2020-06-04 19:34:41 +0000 |
---|---|---|
committer | Patrice Arruda <patricearruda@google.com> | 2020-06-05 17:28:41 +0000 |
commit | ae2694b30d690c879711521f59763e4f63a88ba9 (patch) | |
tree | 29f3074b1cb17a79ac0ffb7861d47925e4cec06d /sdk/java_sdk_test.go | |
parent | ad14580f9938f40411f4e7471534df9e02de667e (diff) |
Pass the TMPDIR directly to the command when dumping makefile variables.
External applications such as metrics uploader depends on the TMPDIR.
DumpMakeVars is changing the TMPDIR environment variable value. Once
the work is done, TMPDIR directory is deleted. Additional flow of
the tool or external applications can panic since TMPDIR directory
does not exist. Since this is an isolated case, pass the TMPDIR
directory to the command of dumping the makefile variables.
Bug: b/140638454
Test: * Ran lunch command with ANDROID_ENABLE_METRICS_UPLOAD set
and metrics_uploader did not crash.
* m nothing
Change-Id: Ib78a3f8cfb5da48f65bd9bce1511e9abdf3d9cca
Diffstat (limited to 'sdk/java_sdk_test.go')
0 files changed, 0 insertions, 0 deletions