(qb) Fix OS detection under msys2

This commit is contained in:
Higor Eurípedes 2014-09-17 17:37:39 -03:00
parent c75f1d163b
commit 5ba8cbb5ef

View File

@ -14,7 +14,7 @@ if [ -n "$CROSS_COMPILE" ]; then
esac
fi
if [ -z "$OS" ]; then
if [ -z "$CROSS_COMPILE" ] || [ -z "$OS" ]; then
case "$(uname)" in
'Linux') OS='Linux';;
*'BSD') OS='BSD';;