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 5786c65 commit 69212e3Copy full SHA for 69212e3
nifi/upload_new_nifi_version.sh
@@ -45,7 +45,7 @@ echo "Validating SHA512 Checksums"
45
# This is due to the NiFi sha512 files sometimes ending on newline and sometimes dont.
46
# See https://archive.apache.org/dist/nifi/2.0.0/nifi-2.0.0-source-release.zip.sha512 vs
47
# 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
+if ! (sha512sum "$src_file" | cut -d ' ' -f 1 | diff - <(echo -e "$(<"${src_file}".sha512)")); then
49
echo "ERROR: One of the SHA512 sums does not match"
50
exit 1
51
fi
0 commit comments