From a208400133a2a7e7392649b593f46eed87be4d91 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Thu, 2 Dec 2021 20:54:23 +0100 Subject: [PATCH] Remove useless intermediate variable Now that PLATFORM is correctly used in the if-condition, PLATFORM_VERSION is useless. PR #2850 --- server/build_without_gradle.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/build_without_gradle.sh b/server/build_without_gradle.sh index c3c6630c..ab5e19e4 100755 --- a/server/build_without_gradle.sh +++ b/server/build_without_gradle.sh @@ -14,8 +14,7 @@ set -e SCRCPY_DEBUG=false SCRCPY_VERSION_NAME=1.21 -PLATFORM_VERSION=31 -PLATFORM=${ANDROID_PLATFORM:-$PLATFORM_VERSION} +PLATFORM=${ANDROID_PLATFORM:-31} BUILD_TOOLS=${ANDROID_BUILD_TOOLS:-31.0.0} BUILD_DIR="$(realpath ${BUILD_DIR:-build_manual})"