Permalink
Browse files

FreeBSD deviates from the norm just like OSX :)

  • Loading branch information...
1 parent 6bc3847 commit f24529fd1f5538b7642ecc562bdeeb1696c58f1d @wayneeseguin wayneeseguin committed Feb 18, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/fetch
View
@@ -5,7 +5,7 @@ if [[ ! -z "$rvm_trace_flag" ]] ; then set -x ; export rvm_trace_flag ; fi
trap "if [[ -d $rvm_tmp_path/ ]] && [[ -f $rvm_tmp_path/$$ ]] ; then rm -f $rvm_tmp_path/$$ > /dev/null 2>&1 ; fi ; exit" 0 1 2 3 15
record_md5() {
- if [[ "Darwin" = "$(uname)" ]] ; then
+ if [[ "Darwin" = "$(uname)" ]] || [[ "FreeBSD" = "$(uname)" ]]; then
archive_md5="$(md5 $archive | awk '{print $NF}')"
else
archive_md5="$(md5sum $archive | awk '{print $1}')"

0 comments on commit f24529f

Please sign in to comment.