rework build_delivery_linux.sh

This commit is contained in:
Corentin Le Molgat
2021-08-23 16:05:44 +02:00
parent c892dbdf64
commit 6da30760ea

View File

@@ -85,7 +85,7 @@ function build_dotnet() {
# Install .Net SNK
echo -n "Install .Net SNK..." | tee -a build.log
local OPENSSL_PRG=openssl
if [ -x "$(command -v openssl11)" ]; then
if [[ -x $(command -v openssl11) ]]; then
OPENSSL_PRG=openssl11
fi
@@ -131,7 +131,7 @@ function build_java() {
fi
# Maven central need gpg sign and we store the release key encoded using openssl
local OPENSSL_PRG=openssl
if [ -x "$(command -v openssl11)" ]; then
if [[ -x $(command -v openssl11) ]]; then
OPENSSL_PRG=openssl11
fi
command -v $OPENSSL_PRG | xargs echo "openssl: " | tee -a build.log