From e04dfb2b272b503379857d641772613e2f37a1a8 Mon Sep 17 00:00:00 2001
From: Brent Cook <bcook@openbsd.org>
Date: Wed, 9 Sep 2015 07:34:37 -0500
Subject: [PATCH] fix a couple of travis build failures

---
 scripts/travis | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/travis b/scripts/travis
index 95f9902..3253538 100755
--- a/scripts/travis
+++ b/scripts/travis
@@ -27,7 +27,7 @@ if [ "x$ARCH" = "xnative" ]; then
 	else
 		sudo apt-add-repository -y ppa:kalakris/cmake
 		sudo apt-get update
-		sudo apt-get install -y $ARCH-x-gcc cmake ninja-build
+		sudo apt-get install -y cmake ninja-build
 		cmake .. -GNinja
 		ninja
 	fi
@@ -38,7 +38,7 @@ else
 	fi
 	export CC=$CPU-w64-mingw32-gcc
 
-	if ! hash $CC 2>/dev/null; then
+	if hash $CC 2>/dev/null; then
 		# Update Ubuntu 12.04 with current mingw toolchain
 		sudo apt-add-repository -y ppa:tobydox/mingw-x-precise
 		sudo apt-get update