aboutsummaryrefslogtreecommitdiffstats
path: root/build-aux/build-travis.sh
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-03-07 23:07:36 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-03-07 23:07:36 +0100
commit99661b01b0dbf6a0ccb34574f599992e714ac726 (patch)
tree4d3ef3f5180fe68a3f4b12d3c90921bf2bdd102f /build-aux/build-travis.sh
parent392b63f752103eed3febd68a49daf8a653ee5eba (diff)
downloadblogc-99661b01b0dbf6a0ccb34574f599992e714ac726.tar.gz
blogc-99661b01b0dbf6a0ccb34574f599992e714ac726.tar.bz2
blogc-99661b01b0dbf6a0ccb34574f599992e714ac726.zip
travis: fix if statement in build script
Diffstat (limited to 'build-aux/build-travis.sh')
-rwxr-xr-xbuild-aux/build-travis.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/build-travis.sh b/build-aux/build-travis.sh
index d178495..eb6262a 100755
--- a/build-aux/build-travis.sh
+++ b/build-aux/build-travis.sh
@@ -7,7 +7,7 @@ mkdir -p build
MAKE_TARGET="${TARGET}"
-if test "x${TARGET}" = xw*; then
+if [[ "x${TARGET}" = xw* ]]; then
unset CC
export CFLAGS="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4"
export CHOST="x86_64-w64-mingw32"