rework build_delivery_linux.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user