@@ -98,7 +98,7 @@ if [[ "$arch" == "armv7l" ]]; then
98
98
exit 1
99
99
fi
100
100
101
- mkdir -p $wrapper_dir
101
+ mkdir -p " $wrapper_dir "
102
102
103
103
function get_prysm_version() {
104
104
if [[ -n ${USE_PRYSM_VERSION:- } ]]; then
@@ -134,14 +134,14 @@ function verify() {
134
134
135
135
color " 37" " Verifying binary integrity."
136
136
137
- gpg --list-keys $PRYLABS_SIGNING_KEY > /dev/null 2>&1 || curl --silent https://prysmaticlabs.com/releases/pgp_keys.asc | gpg --import
137
+ gpg --list-keys " $PRYLABS_SIGNING_KEY " > /dev/null 2>&1 || curl --silent https://prysmaticlabs.com/releases/pgp_keys.asc | gpg --import
138
138
(
139
- cd $wrapper_dir
139
+ cd " $wrapper_dir "
140
140
$checkSum -c " ${file} .sha256" || failed_verification
141
141
)
142
142
(
143
- cd $wrapper_dir
144
- gpg -u $PRYLABS_SIGNING_KEY --verify " ${file} .sig" $file || failed_verification
143
+ cd " $wrapper_dir "
144
+ gpg -u " $PRYLABS_SIGNING_KEY " --verify " ${file} .sig" " $file " || failed_verification
145
145
)
146
146
147
147
color " 32;1" " Verified ${file} has been signed by Prysmatic Labs."
@@ -174,10 +174,10 @@ if [[ $1 == beacon-chain ]]; then
174
174
if [[ ! -x $BEACON_CHAIN_REAL ]]; then
175
175
color " 34" " Downloading beacon chain@${prysm_version} to ${BEACON_CHAIN_REAL} (${reason} )"
176
176
file=beacon-chain-${prysm_version} -${system} -${arch}
177
- curl -L " https://prysmaticlabs.com/releases/${file} " -o $BEACON_CHAIN_REAL
177
+ curl -L " https://prysmaticlabs.com/releases/${file} " -o " $BEACON_CHAIN_REAL "
178
178
curl --silent -L " https://prysmaticlabs.com/releases/${file} .sha256" -o " ${wrapper_dir} /${file} .sha256"
179
179
curl --silent -L " https://prysmaticlabs.com/releases/${file} .sig" -o " ${wrapper_dir} /${file} .sig"
180
- chmod +x $BEACON_CHAIN_REAL
180
+ chmod +x " $BEACON_CHAIN_REAL "
181
181
else
182
182
color " 37" " Beacon chain is up to date."
183
183
fi
@@ -188,10 +188,10 @@ if [[ $1 == validator ]]; then
188
188
color " 34" " Downloading validator@${prysm_version} to ${VALIDATOR_REAL} (${reason} )"
189
189
190
190
file=validator-${prysm_version} -${system} -${arch}
191
- curl -L " https://prysmaticlabs.com/releases/${file} " -o $VALIDATOR_REAL
191
+ curl -L " https://prysmaticlabs.com/releases/${file} " -o " $VALIDATOR_REAL "
192
192
curl --silent -L " https://prysmaticlabs.com/releases/${file} .sha256" -o " ${wrapper_dir} /${file} .sha256"
193
193
curl --silent -L " https://prysmaticlabs.com/releases/${file} .sig" -o " ${wrapper_dir} /${file} .sig"
194
- chmod +x $VALIDATOR_REAL
194
+ chmod +x " $VALIDATOR_REAL "
195
195
else
196
196
color " 37" " Validator is up to date."
197
197
fi
@@ -202,10 +202,10 @@ if [[ $1 == slasher ]]; then
202
202
color " 34" " Downloading slasher@${prysm_version} to ${SLASHER_REAL} (${reason} )"
203
203
204
204
file=slasher-${prysm_version} -${system} -${arch}
205
- curl -L " https://prysmaticlabs.com/releases/${file} " -o $SLASHER_REAL
205
+ curl -L " https://prysmaticlabs.com/releases/${file} " -o " $SLASHER_REAL "
206
206
curl --silent -L " https://prysmaticlabs.com/releases/${file} .sha256" -o " ${wrapper_dir} /${file} .sha256"
207
207
curl --silent -L " https://prysmaticlabs.com/releases/${file} .sig" -o " ${wrapper_dir} /${file} .sig"
208
- chmod +x $SLASHER_REAL
208
+ chmod +x " $SLASHER_REAL "
209
209
else
210
210
color " 37" " Slasher is up to date."
211
211
fi
@@ -233,7 +233,7 @@ slasher)
233
233
;;
234
234
esac
235
235
236
- verify $process
236
+ verify " $process "
237
237
238
238
if [[ " $# " -gt 1 ]] && [[ $2 == --download-only ]]; then
239
239
color " 37" " Only download operation is requested, done."
0 commit comments