From efe5f988e0ac218996e79d9e5cf423a9f2d86168 Mon Sep 17 00:00:00 2001 From: Raul Santos Date: Wed, 28 Aug 2024 17:24:54 +0200 Subject: [PATCH] [Android] Check if keyStore path is empty In `godot-build-scripts`, the default `config.sh` sets `GODOT_ANDROID_SIGN_KEYSTORE` to an empty string but we were only checking if it's null. --- platform/android/java/editor/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/android/java/editor/build.gradle b/platform/android/java/editor/build.gradle index 37f68d295ac2..3edbeff2f792 100644 --- a/platform/android/java/editor/build.gradle +++ b/platform/android/java/editor/build.gradle @@ -36,7 +36,7 @@ ext { // Return the keystore file used for signing the release build. getGodotKeystoreFile = { -> def keyStore = System.getenv("GODOT_ANDROID_SIGN_KEYSTORE") - if (keyStore == null) { + if (keyStore == null || keyStore.isEmpty()) { return null } return file(keyStore)