Permalink
Browse files

Fix FreeBSD detection

  • Loading branch information...
Sergey Lukin
Sergey Lukin committed Dec 5, 2012
1 parent 1dddac2 commit 1397989905696d13128bee7bfbf7f6372612d357
Showing with 1 addition and 1 deletion.
  1. +1 −1 setup/install.sh
View
@@ -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 1397989

Please sign in to comment.