Improve FreeBSD compatibility

This commit is contained in:
tlimoncelli@stackoverflow.com
2017-05-15 07:50:30 -04:00
committed by Tom Limoncelli
parent 3b0f0194a0
commit 0002c97878
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ function PHASE() {
function md5sum_file() {
# Portably generate the MD5 hash of file $1.
case $(uname -s) in
Darwin )
Darwin | FreeBSD )
md5 -r "$1" | awk '{ print $1 }'
;;
Linux )