Skip to content

Commit 947af23

Browse files
authored
Print the checksum strings as needed. (#487)
Print the checksum strings exactly as needed for llvm_distributions.bzl.
1 parent 45bd4db commit 947af23

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

utils/llvm_checksums.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,9 @@ fi
8686
echo ""
8787
echo "===="
8888
echo "Checksums for clang+llvm distributions are (${output_dir}):"
89+
echo " # ${llvm_version}"
8990
find "${output_dir}" -type f \( -name 'clang%2?llvm-*.tar.*' -o -name 'LLVM-*.tar.*' \) \( -name '*.gz' -o -name '*.xz' \) -exec shasum -a 256 {} \; |
9091
sed -e "s@${output_dir}/@@" |
91-
awk '{ printf "\"%s\": \"%s\",\n", $2, $1 }' |
92+
awk '{ printf " \"%s\": \"%s\",\n", $2, $1 }' |
9293
sed -e 's/%2[Bb]/+/' |
9394
sort

0 commit comments

Comments
 (0)