diff options
author | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2020-03-27 21:08:14 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2020-03-27 21:08:14 +0000 |
commit | 35a2faf07e9ad3ff232b2c2023103f0ac67a304f (patch) | |
tree | 56ba4e646caf0616922b8e9fd1211ea5ff191cbf /dist | |
parent | 4c36e9fba93a662c30b7f337c71ec25594c56b35 (diff) | |
download | midipix_build-35a2faf07e9ad3ff232b2c2023103f0ac67a304f.tar.bz2 midipix_build-35a2faf07e9ad3ff232b2c2023103f0ac67a304f.tar.xz |
dist/dist_zipdist.dist: correctly check for presence of ${DEFAULT_ZIPDIST_SIGN_GPG_KEY} (via duvallj.)
Diffstat (limited to 'dist')
-rw-r--r-- | dist/dist_zipdist.dist | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/dist_zipdist.dist b/dist/dist_zipdist.dist index 70063264..0cdc9c65 100644 --- a/dist/dist_zipdist.dist +++ b/dist/dist_zipdist.dist @@ -35,7 +35,7 @@ pkg_dist_zipdist_all() { else echo "msg_pkg dist dist_zipdist Finished building deployable distribution ZIP archive." >&3; rtl_log_msg info "Finished building deployable distribution ZIP archive."; - if [ -n "${DEFAULT_ZIPDIST_SIGN_GPG_KEY}" ]\ + if [ -n "${DEFAULT_ZIPDIST_SIGN_GPG_KEY:-}" ]\ && [ -x "$(which gpg 2>/dev/null)" ]\ && gpg --list-keys "${DEFAULT_ZIPDIST_SIGN_GPG_KEY}" >/dev/null 2>&1; then echo "msg_pkg dist dist_zipdist Signing deployable distribution ZIP archive..." >&3; |