commit | ba4d9fd9339a7db7705f00ab4a1310b43970a8e2 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Oct 03 08:44:27 2017 -0700 |
committer | Elliott Hughes <enh@google.com> | Tue Oct 03 08:44:27 2017 -0700 |
tree | 5d5eccfba942dedc2bc7a76e27cf8eaa0351749c | |
parent | 5eaa5bc0813d7bf2e5c708281370983a9725c417 [diff] |
Set $HOSTNAME in adbd. bash sets this itself, but mksh doesn't. This also makes interactive and non-interactive adb shells more similar, because when we set this in mkshrc that wouldn't affect non-interactive shells. (I'm not sure whether this is an improvement or not.) This is certainly _cheaper_ than doing this in mkshrc by calling out to getprop though. Bug: N/A Test: `adb shell printenv` and `adb shell`, `printenv` Change-Id: I3ff724f19a5098313df83836253f1f7e7872d6a4