aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-04-12 22:55:32 (GMT)
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-04-12 22:58:43 (GMT)
commit786bf0b4f9621f4f11a766fa30da944bb209d702 (patch)
tree33bf781210ea3e1c19b2684e8e4c678e2d102e42
parentd7247f0952909d9af3cf44e44b2f1b87bfd43212 (diff)
downloadandroid_build-GNUtoo/replicant-9.zip
android_build-GNUtoo/replicant-9.tar.gz
android_build-GNUtoo/replicant-9.tar.bz2
[HACK] Workaround TARGET_BUILD_VARIANT set to defaultGNUtoo/replicant-9
Without that workaround, the following: $ source build/envsetup.sh $ lunch replicant_i9305-userdebug results in: [...] TARGET_BUILD_VARIANT=eng [...] Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--envsetup.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/envsetup.sh b/envsetup.sh
index 3da53d0..992501c 100644
--- a/envsetup.sh
+++ b/envsetup.sh
@@ -647,6 +647,7 @@ function lunch()
fi
export TARGET_PRODUCT=$product
+ export TARGET_BUILD_VARIANT=$variant
export TARGET_PRODUCT=$(get_build_var TARGET_PRODUCT)
export TARGET_BUILD_VARIANT=$(get_build_var TARGET_BUILD_VARIANT)
if [ -n "$version" ]; then