Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit a70e8c8

Browse files
committed
Use md5 -q for HashProgramOutput.sh, to show only the checksum.
Summary: This option is supported on both BSDs and macOS, and ensures the command also works if GNU coreutils are not installed. Reviewers: ddunbar, jdoerfert, serge-sans-paille, tra Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D83411
1 parent f0caecc commit a70e8c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HashProgramOutput.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ fi
1818

1919
mv $1 $1.bak
2020
if [ $is_md5sum = "0" ]; then
21-
$md5cmd < $1.bak > $1
21+
$md5cmd -q < $1.bak > $1
2222
else
2323
$md5cmd < $1.bak | cut -d' ' -f 1 > $1
2424
fi

0 commit comments

Comments
 (0)