File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -103,9 +103,9 @@ sign() {
103
103
# shellcheck disable=SC2086,SC2029
104
104
shapath=$( ssh ${customsshkey} " ${webuser} @${webhost} " $signcmd nodejs $1 )
105
105
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)
109
109
110
110
echo " "
111
111
echo " # Signing SHASUMS for $1 ..."
@@ -141,7 +141,8 @@ sign() {
141
141
fi
142
142
143
143
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} /"
145
146
# shellcheck disable=SC2086,SC2029
146
147
ssh ${customsshkey} " ${webuser} @${webhost} " chmod 644 " ${shadir} /${shafile} .asc" " ${shadir} /${shafile} .sig"
147
148
break
You can’t perform that action at this time.
0 commit comments