From 5ba8cbb5ef92e551bf3a8f72917b95d2f3d384b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Higor=20Eur=C3=ADpedes?= Date: Wed, 17 Sep 2014 17:37:39 -0300 Subject: [PATCH] (qb) Fix OS detection under msys2 --- qb/qb.comp.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qb/qb.comp.sh b/qb/qb.comp.sh index d94112aa99..7aed008e39 100644 --- a/qb/qb.comp.sh +++ b/qb/qb.comp.sh @@ -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';;