commit | f56800a5ea84ddcc2487a597ef0fec16156d3301 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Dec 12 00:41:27 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Tue Dec 12 00:41:27 2017 +0000 |
tree | 381bcf76e8cb79e0c83d5a422625234caaea0bde | |
parent | fc7a327a4a3ba010e5aed63f165a6516b64796c8 [diff] | |
parent | bf2062f800aa56dfbb8eee04919b6721e0f8a912 [diff] |
Merge "Set $TMPDIR for `adb shell`." am: bf2062f800 Change-Id: Ie5ed14d5442cb419b6023bd2880a31d11e5df1d1
diff --git a/adb/shell_service.cpp b/adb/shell_service.cpp index 0c7e1f9..f9f80c0 100644 --- a/adb/shell_service.cpp +++ b/adb/shell_service.cpp
@@ -262,6 +262,7 @@ env["HOSTNAME"] = GetHostName(); env["LOGNAME"] = pw->pw_name; env["SHELL"] = pw->pw_shell; + env["TMPDIR"] = "/data/local/tmp"; env["USER"] = pw->pw_name; }