diff options
author | David 'Digit' Turner <digit@google.com> | 2009-07-24 16:33:05 +0200 |
---|---|---|
committer | David 'Digit' Turner <digit@google.com> | 2009-07-24 16:33:05 +0200 |
commit | d68b48725d720a06b24932b170f528929856f3db (patch) | |
tree | 586ee05802b45313ba5b720480eae1dd33b8a479 /android/utils | |
parent | 0b7cd6c0d6af071951a86810d2600d155fa53b05 (diff) | |
download | external_qemu-d68b48725d720a06b24932b170f528929856f3db.zip external_qemu-d68b48725d720a06b24932b170f528929856f3db.tar.gz external_qemu-d68b48725d720a06b24932b170f528929856f3db.tar.bz2 |
Fix ANDROID_SDK_HOME handling on Unix (the env. var was ignored)
Bump version number to 1.11 in android/android.h
Update CHANGES.TXT to reflect SDK 1.5_r3 changes
Update some comments in android/boot-properties.[hc]
Add a --debug option to android-configure.sh (and android-rebuild.sh)
to build a unoptimized debug version of the standalone emulator binary.
Diffstat (limited to 'android/utils')
-rw-r--r-- | android/utils/bufprint.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/android/utils/bufprint.c b/android/utils/bufprint.c index 4309a4b..45d411f 100644 --- a/android/utils/bufprint.c +++ b/android/utils/bufprint.c @@ -180,7 +180,9 @@ bufprint_config_path(char* buff, char* end) return bufprint(buff, end, "%s\\%s", path, _ANDROID_PATH ); } #else - const char* home = getenv("HOME"); + const char* home = getenv("ANDROID_SDK_HOME"); + if (home == NULL) + home = getenv("HOME"); if (home == NULL) home = "/tmp"; return bufprint(buff, end, "%s/%s", home, _ANDROID_PATH ); |