diff options
| author | Joe Onorato <joeo@google.com> | 2023-05-06 12:29:01 -0700 |
|---|---|---|
| committer | Joe Onorato <joeo@google.com> | 2023-05-11 12:53:36 -0700 |
| commit | 964f40128170cb1a1a8225330c8ef7d355a5db30 (patch) | |
| tree | 28f564e075444a8c9ab8f3cd3cec1e672a7237d6 /envsetup.sh | |
| parent | 99d89154f193d79591a552ae1905296e308feb06 (diff) | |
Add release flag logic based on TARGET_RELEASE.
Test: Lots of manual testing
Change-Id: I9072f136e64576009d0debd057c8ce6918fae861
Diffstat (limited to 'envsetup.sh')
| -rw-r--r-- | envsetup.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/envsetup.sh b/envsetup.sh index 916344cd31..ef4824938c 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -842,7 +842,7 @@ function lunch() export TARGET_PRODUCT=$(get_build_var TARGET_PRODUCT) export TARGET_BUILD_VARIANT=$(get_build_var TARGET_BUILD_VARIANT) if [ -n "$release" ]; then - export TARGET_RELEASE=$(get_build_var TARGET_RELEASE) + export TARGET_RELEASE=$release else unset TARGET_RELEASE fi |
