1
0

build scripts: minor formatting clean-up

follow-up f8f77c14a2
This commit is contained in:
SomberNight
2022-09-27 13:25:11 +00:00
parent ef89a695db
commit f174b9164c
3 changed files with 14 additions and 9 deletions

View File

@@ -55,9 +55,9 @@ if [[ "$3" == "release" ]] ; then
TARGET="release"
export P4A_RELEASE_KEYSTORE=~/.keystore
export P4A_RELEASE_KEYALIAS=electrum
if [ ! $P4A_RELEASE_KEYSTORE_PASSWD ]; then
echo "p4a password not defined"
exit 1
if [ -z "$P4A_RELEASE_KEYSTORE_PASSWD" ] || [ -z "$P4A_RELEASE_KEYALIAS_PASSWD" ]; then
echo "p4a password not defined"
exit 1
fi
elif [[ "$3" == "release-unsigned" ]] ; then
# do release build, but do not sign the APKs.