Skip to content

Commit efe5f98

Browse files
committed
[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.
1 parent e3550cb commit efe5f98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/android/java/editor/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ext {
3636
// Return the keystore file used for signing the release build.
3737
getGodotKeystoreFile = { ->
3838
def keyStore = System.getenv("GODOT_ANDROID_SIGN_KEYSTORE")
39-
if (keyStore == null) {
39+
if (keyStore == null || keyStore.isEmpty()) {
4040
return null
4141
}
4242
return file(keyStore)

0 commit comments

Comments
 (0)