Skip to content

Commit 69212e3

Browse files
committed
attempt fix 2
1 parent 5786c65 commit 69212e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nifi/upload_new_nifi_version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ echo "Validating SHA512 Checksums"
4545
# This is due to the NiFi sha512 files sometimes ending on newline and sometimes dont.
4646
# See https://archive.apache.org/dist/nifi/2.0.0/nifi-2.0.0-source-release.zip.sha512 vs
4747
# https://archive.apache.org/dist/nifi/1.27.0/nifi-1.27.0-source-release.zip.sha512
48-
if ! (sha512sum "$src_file" | cut -d ' ' -f 1 | diff - <(echo -e "$(<${src_file}.sha512)")); then
48+
if ! (sha512sum "$src_file" | cut -d ' ' -f 1 | diff - <(echo -e "$(<"${src_file}".sha512)")); then
4949
echo "ERROR: One of the SHA512 sums does not match"
5050
exit 1
5151
fi

0 commit comments

Comments
 (0)