From adc07be2cea32d508fe0a7186cab5c2c45feba04 Mon Sep 17 00:00:00 2001 From: Alessandro Muntoni Date: Tue, 20 Jun 2023 14:29:01 +0200 Subject: [PATCH] fix windows sign --- scripts/Windows/2_deploy.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/Windows/2_deploy.sh b/scripts/Windows/2_deploy.sh index 515a70098..54e6371d2 100644 --- a/scripts/Windows/2_deploy.sh +++ b/scripts/Windows/2_deploy.sh @@ -30,9 +30,9 @@ case $i in shift # past argument=value ;; -cp=*|--cert_pssw=*) - if [ -z "${i#*=}" ]; then + CERT_PSSW="${i#*=}" + if [ -n "$CERT_PSSW" ]; then SIGN=true - CERT_PSSW="${i#*=}" fi shift # past argument=value ;; @@ -60,4 +60,4 @@ if [ "$SIGN" = true ] ; then bash $SCRIPTS_PATH/internal/2b_sign_dlls.sh -i=$PACKAGES_PATH $CERT_FILE_OPTION -cp=$CERT_PSSW echo "======= Installer Signed =======" -fi \ No newline at end of file +fi