From 6da30760ea397dedc2eb0eb93ca23b2a3bbf0341 Mon Sep 17 00:00:00 2001 From: Corentin Le Molgat Date: Mon, 23 Aug 2021 16:05:44 +0200 Subject: [PATCH] rework build_delivery_linux.sh --- tools/release/build_delivery_linux.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/release/build_delivery_linux.sh b/tools/release/build_delivery_linux.sh index 058aaf9780..519f6bc153 100755 --- a/tools/release/build_delivery_linux.sh +++ b/tools/release/build_delivery_linux.sh @@ -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