envsetup: Fix breakfast
Change-Id: I9742638765f323876bffcdd0d9c1131d28a54614
This commit is contained in:
parent
abcc4179d3
commit
a0003041e1
@ -69,6 +69,7 @@ function breakfast()
|
|||||||
{
|
{
|
||||||
target=$1
|
target=$1
|
||||||
local variant=$2
|
local variant=$2
|
||||||
|
source ${ANDROID_BUILD_TOP}/vendor/lineage/vars/aosp_target_release
|
||||||
|
|
||||||
if [ $# -eq 0 ]; then
|
if [ $# -eq 0 ]; then
|
||||||
# No arguments, so let's have the full menu
|
# No arguments, so let's have the full menu
|
||||||
@ -83,7 +84,7 @@ function breakfast()
|
|||||||
variant="userdebug"
|
variant="userdebug"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
lunch lineage_$target-$variant
|
lunch lineage_$target-$aosp_target_release-$variant
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
return $?
|
return $?
|
||||||
|
2
vars/aosp_target_release
Normal file
2
vars/aosp_target_release
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Updated manually
|
||||||
|
aosp_target_release=ap1a
|
Loading…
Reference in New Issue
Block a user