Merge "Correct if statement." am: 56f81f3d64 am: 75a8134b59 am: ba84a920f0 am: 1b9030b161 am: 68a09af71a

Original change: https://android-review.googlesource.com/c/platform/build/+/2572939

Change-Id: Ic8915ece1e5f11c3994b674cb6e28007658dea49
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Alex Buynytskyy 2023-04-29 03:31:22 +00:00 committed by Automerger Merge Worker
commit 598d6e7c2e

View file

@ -56,7 +56,7 @@ function finalize_sdk_rel() {
mkdir -p "$top/prebuilts/abi-dumps/platform/$FINAL_PLATFORM_SDK_VERSION"
cp -r "$top/prebuilts/abi-dumps/platform/current/64/" "$top/prebuilts/abi-dumps/platform/$FINAL_PLATFORM_SDK_VERSION/"
if [ "$FINAL_STATE" != "sdk" || "$FINAL_PLATFORM_CODENAME" == "$CURRENT_PLATFORM_CODENAME" ] ; then
if [ "$FINAL_STATE" != "sdk" ] || [ "$FINAL_PLATFORM_CODENAME" == "$CURRENT_PLATFORM_CODENAME" ] ; then
# prebuilts/abi-dumps/vndk
mv "$top/prebuilts/abi-dumps/vndk/$CURRENT_PLATFORM_CODENAME" "$top/prebuilts/abi-dumps/vndk/$FINAL_PLATFORM_SDK_VERSION"
fi;