File tree 1 file changed +2
-1
lines changed 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -254,8 +254,9 @@ if [ ! -f "${SCRIPT_DIR}/../openssl-${OPENSSL_VERSION}.tar.gz" ]; then
254
254
curl -fL " https://www.openssl.org/source/openssl-${OPENSSL_VERSION} .tar.gz" -o " ${SCRIPT_DIR} /../openssl-${OPENSSL_VERSION} .tar.gz"
255
255
curl -fL " https://www.openssl.org/source/openssl-${OPENSSL_VERSION} .tar.gz.sha256" -o " ${SCRIPT_DIR} /../openssl-${OPENSSL_VERSION} .tar.gz.sha256"
256
256
DIGEST=$( cat ${SCRIPT_DIR} /../openssl-${OPENSSL_VERSION} .tar.gz.sha256 )
257
+ DIGEST=$( echo " $DIGEST " | awk ' {$1=$1};1' )
257
258
258
- if [[ " $( shasum -a 256 " openssl-${OPENSSL_VERSION} .tar.gz" | awk ' {print \" $1\" }' ) " != " ${DIGEST} " ]]
259
+ if [[ " $( shasum -a 256 " openssl-${OPENSSL_VERSION} .tar.gz" | awk ' {print $1 }' ) " != " ${DIGEST} " ]]
259
260
then
260
261
echo " openssl-${OPENSSL_VERSION} .tar.gz: checksum mismatch"
261
262
exit 1
You can’t perform that action at this time.
0 commit comments