From b7180893c6a1a36be71ff772ed44f49ed5221db0 Mon Sep 17 00:00:00 2001 From: Janek Bevendorff Date: Sat, 28 Jan 2017 22:23:51 +0100 Subject: [PATCH] Fix check for Msys --- release-tool | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/release-tool b/release-tool index 7c2a432c9..ef842a66a 100755 --- a/release-tool +++ b/release-tool @@ -476,8 +476,7 @@ build() { export CXX="$COMPILER" if [ "" == "$DOCKER_IMAGE" ]; then - - if [ "$(uname -i)" == "Msys" ]; then + if [ "$(uname -o)" == "Msys" ]; then logInfo "Configuring build..." cmake -DCMAKE_BUILD_TYPE=Release -DWITH_TESTS=Off -G"MSYS Makefiles" \ -DCMAKE_INSTALL_PREFIX="${INSTALL_PREFIX}" $CMAKE_OPTIONS "$SRC_DIR"