Set empty TARGET_RELEASE for some commands
The same commands where we're setting things like TARGET_BUILD_VARIANT to be explicitly empty, we do the same with TARGET_RELEASE. Bug: 307946156 Test: 'lunch' with no arguments Change-Id: If78eacd62725122d47829e2e9079b182fdafb9b4
This commit is contained in:
@@ -205,6 +205,7 @@ function check_product()
|
||||
return
|
||||
fi
|
||||
TARGET_PRODUCT=$1 \
|
||||
TARGET_RELEASE= \
|
||||
TARGET_BUILD_VARIANT= \
|
||||
TARGET_BUILD_TYPE= \
|
||||
TARGET_BUILD_APPS= \
|
||||
@@ -728,7 +729,7 @@ function print_lunch_menu()
|
||||
{
|
||||
local uname=$(uname)
|
||||
local choices
|
||||
choices=$(TARGET_BUILD_APPS= TARGET_PRODUCT= TARGET_BUILD_VARIANT= get_build_var COMMON_LUNCH_CHOICES 2>/dev/null)
|
||||
choices=$(TARGET_BUILD_APPS= TARGET_PRODUCT= TARGET_RELEASE= TARGET_BUILD_VARIANT= get_build_var COMMON_LUNCH_CHOICES 2>/dev/null)
|
||||
local ret=$?
|
||||
|
||||
echo
|
||||
|
Reference in New Issue
Block a user