Permalink
Browse files

Bugfix: Fix /sbin/md5 for Darwin based systems. Thank you very much s…

…higeya!
  • Loading branch information...
1 parent 062db3d commit 8447201ca68f73f942a446ff340aa83cb5fb41b7 @wayneeseguin wayneeseguin committed Mar 1, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/md5
View
@@ -9,7 +9,7 @@ if [[ "Linux" = "$(uname)" ]] ; then
#md5sum --status -c "$file"
elif [[ "Darwin" = "$(uname)" ]] ; then
#md5 --status -c "$1"
- command="md5"
+ command="/sbin/md5"
fi
file_md5=$($command $file | awk '{print $NF}')

0 comments on commit 8447201

Please sign in to comment.