commit | 299da1cf8e0c26a16617f107fa6f863ef42695e6 | [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 | 82f5791c55394b6d6ed0b218c3a9a011a92c202c | |
parent | 1aebc2d4dfa5be4dddaffe8f77ec6fbd5ee835b5 [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