From 46c9a8de8ba8f42aae2f13f7641ffbfd00a32d99 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Wed, 9 Sep 2015 07:13:05 -0500 Subject: [PATCH] revert some travis shell portability tweaks --- scripts/travis | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/travis b/scripts/travis index e54f1f0..95f9902 100755 --- a/scripts/travis +++ b/scripts/travis @@ -3,10 +3,10 @@ set -e ./autogen.sh -if "x$ARCH" = "xnative"; then +if [ "x$ARCH" = "xnative" ]; then # test autotools ./configure - if `uname` = "Darwin"; then + if [ `uname` = "Darwin" ]; then # OS X runs out of resources if we run 'make -j check' make check else @@ -21,7 +21,7 @@ if "x$ARCH" = "xnative"; then cd build # test cmake and ninja - if `uname` = "Darwin"; then + if [ `uname` = "Darwin" ]; then cmake .. make else @@ -33,7 +33,7 @@ if "x$ARCH" = "xnative"; then fi else CPU=i686 - if "x$ARCH" = "xmingw64"; then + if [ "x$ARCH" = "xmingw64" ]; then CPU=x86_64 fi export CC=$CPU-w64-mingw32-gcc