Permalink
Browse files

Merge pull request #774 from sergeylukin/master

Improved audit: small fixes
  • Loading branch information...
2 parents 1dddac2 + 9f11bfc commit fd98edffb8e411a71c9acfd94f5a38e8bd731b7e @sindresorhus sindresorhus committed Dec 5, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 setup/install.sh
View
@@ -54,7 +54,7 @@ audit() {
fi
if (( ( "$os" == "linux" || "$os" == "freebsd" ) && $curl != 1 )) ||
- (( "$mac" == "mac" && $brew != 1 && $clang != 1 )) &&
+ (( "$os" == "mac" && $brew != 1 && $clang != 1 )) &&
(( $compass != 1 && $git != 1 && $jpegtran != 1 && $node != 1 &&
$npm != 1 && $optipng != 1 && $phantomjs != 1 && $ruby != 1 &&
$gem != 1 && $yeoman != 1 )); then
@@ -643,7 +643,7 @@ get_os_info() {
$(check_linux_release "gentoo-release" "gentoo") ||
$(check_linux_release "fedora-release" "fedora")
- elif [ "$os" == "FreeBSD" ]; then
+ elif [ "$osname" == "FreeBSD" ]; then
os="freebsd"
else
# TODO: better detect Windows as other OSes can get this message

0 comments on commit fd98edf

Please sign in to comment.