mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Correct invalid conditional check in release-tool
This commit is contained in:
parent
c51752df39
commit
e909d1b594
@ -810,10 +810,6 @@ build() {
|
|||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|
||||||
if [[ ${build_appsign} && ! -f ${build_key} ]]; then
|
|
||||||
exitError "--appsign specified with invalid key file\n"
|
|
||||||
fi
|
|
||||||
|
|
||||||
init
|
init
|
||||||
|
|
||||||
OUTPUT_DIR="$(realpath "$OUTPUT_DIR")"
|
OUTPUT_DIR="$(realpath "$OUTPUT_DIR")"
|
||||||
@ -908,7 +904,7 @@ build() {
|
|||||||
make ${MAKE_OPTIONS} package
|
make ${MAKE_OPTIONS} package
|
||||||
|
|
||||||
# Appsign the executables if desired
|
# Appsign the executables if desired
|
||||||
if [[ ${build_appsign} ]]; then
|
if ${build_appsign}; then
|
||||||
logInfo "Signing executable files"
|
logInfo "Signing executable files"
|
||||||
appsign "-f" "./${APP_NAME}-${RELEASE_NAME}.dmg" "-k" "${build_key}"
|
appsign "-f" "./${APP_NAME}-${RELEASE_NAME}.dmg" "-k" "${build_key}"
|
||||||
fi
|
fi
|
||||||
@ -924,7 +920,7 @@ build() {
|
|||||||
mingw32-make ${MAKE_OPTIONS} preinstall
|
mingw32-make ${MAKE_OPTIONS} preinstall
|
||||||
|
|
||||||
# Appsign the executables if desired
|
# Appsign the executables if desired
|
||||||
if [[ ${build_appsign} ]]; then
|
if ${build_appsign} && [ -f ${build_key} ]; then
|
||||||
logInfo "Signing executable files"
|
logInfo "Signing executable files"
|
||||||
appsign "-f" $(find src | grep -P '\.exe$|\.dll$') "-k" "${build_key}"
|
appsign "-f" $(find src | grep -P '\.exe$|\.dll$') "-k" "${build_key}"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user