summaryrefslogtreecommitdiffstats
path: root/envsetup.sh
diff options
context:
space:
mode:
authorChirayu Desai <cdesai@cyanogenmod.org>2013-03-19 17:50:37 +0530
committerAdnan Begovic <adnan@cyngn.com>2015-10-06 16:36:47 -0700
commite1466d645d915923327696a7cdd660cfc9435fd0 (patch)
tree5b6a2d95f5d0a3ccb6443e85450732783c10612f /envsetup.sh
parent24dd07d3416ed70eb761d512ddbfff6f4fea579d (diff)
downloadbuild-e1466d645d915923327696a7cdd660cfc9435fd0.zip
build-e1466d645d915923327696a7cdd660cfc9435fd0.tar.gz
build-e1466d645d915923327696a7cdd660cfc9435fd0.tar.bz2
envsetup: export ANDROID_BUILD_TOP earlier
Change-Id: Ia3497f61f4e9aaeeb793cecd3b4f488f0a48181a
Diffstat (limited to 'envsetup.sh')
-rw-r--r--envsetup.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/envsetup.sh b/envsetup.sh
index 19143de..8063143 100644
--- a/envsetup.sh
+++ b/envsetup.sh
@@ -257,7 +257,6 @@ function set_stuff_for_environment()
setpaths
set_sequence_number
- export ANDROID_BUILD_TOP=$(gettop)
# With this environment variable new GCC can apply colors to warnings/errors
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
export ASAN_OPTIONS=detect_leaks=0
@@ -2251,3 +2250,5 @@ done
unset f
addcompletions
+
+export ANDROID_BUILD_TOP=$(gettop)