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