We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3ee50e commit 6cda7e1Copy full SHA for 6cda7e1
resources/extract-platform.sh
@@ -25,7 +25,7 @@ echo "Downloading ${BUILD_ZIP_URL}"
25
echo "Downloading ${CHECKSUM_URL}"
26
[ -f "${CHECKSUM_FILE}" ] || curl -sSf "${CHECKSUM_URL}" -o "${CHECKSUM_FILE}"
27
[ $? == 0 ] || exit 1
28
-readonly sum="$(openssl dgst -sha384 ${BUILD_ZIP_FILE} | awk '{print $2}')"
+readonly sum="$(openssl dgst -sha384 "${BUILD_ZIP_FILE}" | awk '{print $2}')"
29
readonly expected_sum="$(awk '{print $1}' < "${CHECKSUM_FILE}")"
30
if [ "${sum}" != "${expected_sum}" ]; then
31
echo "SHA sum of ${BUILD_ZIP_FILE} does not match. Aborting."
0 commit comments