Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d42df42f authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Set $TMPDIR for `adb shell`.

Bug: http://b/19635681
Test: printenv
Change-Id: I21e89b9d7cccad23f32a3062a9e04e59b8278104
parent a4a9a81d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -262,6 +262,7 @@ bool Subprocess::ForkAndExec(std::string* error) {
        env["HOSTNAME"] = GetHostName();
        env["LOGNAME"] = pw->pw_name;
        env["SHELL"] = pw->pw_shell;
        env["TMPDIR"] = "/data/local/tmp";
        env["USER"] = pw->pw_name;
    }