Skip to content

Commit 6cda7e1

Browse files
committed
style: fix codacy errors
Signed-off-by: Lenin Mehedy <[email protected]>
1 parent b3ee50e commit 6cda7e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/extract-platform.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ echo "Downloading ${BUILD_ZIP_URL}"
2525
echo "Downloading ${CHECKSUM_URL}"
2626
[ -f "${CHECKSUM_FILE}" ] || curl -sSf "${CHECKSUM_URL}" -o "${CHECKSUM_FILE}"
2727
[ $? == 0 ] || exit 1
28-
readonly sum="$(openssl dgst -sha384 ${BUILD_ZIP_FILE} | awk '{print $2}')"
28+
readonly sum="$(openssl dgst -sha384 "${BUILD_ZIP_FILE}" | awk '{print $2}')"
2929
readonly expected_sum="$(awk '{print $1}' < "${CHECKSUM_FILE}")"
3030
if [ "${sum}" != "${expected_sum}" ]; then
3131
echo "SHA sum of ${BUILD_ZIP_FILE} does not match. Aborting."

0 commit comments

Comments
 (0)