File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -103,9 +103,9 @@ sign() {
103103 # shellcheck disable=SC2086,SC2029
104104 shapath=$( ssh ${customsshkey} " ${webuser} @${webhost} " $signcmd nodejs $1 )
105105
106- echo " ${shapath} " | grep -q ' ^/.*/SHASUMS256.txt$' || \
107- echo ' Error: No SHASUMS file returned by sign!' \
108- exit 1
106+ echo " ${shapath} " | grep -q ' ^/.*/SHASUMS256.txt$' || ( \
107+ echo ' Error: No SHASUMS file returned by sign!' && \
108+ exit 1)
109109
110110 echo " "
111111 echo " # Signing SHASUMS for $1 ..."
@@ -141,7 +141,8 @@ sign() {
141141 fi
142142
143143 if [ " X${yorn} " = " Xy" ]; then
144- scp " ${customsshkey} " " ${tmpdir} /${shafile} " " ${tmpdir} /${shafile} .asc" " ${tmpdir} /${shafile} .sig" " ${webuser} @${webhost} :${shadir} /"
144+ # shellcheck disable=SC2086
145+ scp ${customsshkey} " ${tmpdir} /${shafile} " " ${tmpdir} /${shafile} .asc" " ${tmpdir} /${shafile} .sig" " ${webuser} @${webhost} :${shadir} /"
145146 # shellcheck disable=SC2086,SC2029
146147 ssh ${customsshkey} " ${webuser} @${webhost} " chmod 644 " ${shadir} /${shafile} .asc" " ${shadir} /${shafile} .sig"
147148 break
You can’t perform that action at this time.
0 commit comments