[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.
This commit is contained in:
parent
e3550cb20f
commit
efe5f988e0
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue