Use better shell syntax

This commit is contained in:
ThePhD 2018-02-11 01:01:12 -05:00
parent 6f80e271d7
commit e412d7b28e

View File

@ -50,7 +50,7 @@ echo -en "travis_fold:start:build_preparation.1\r"
source ./sol2.compiler.vars source ./sol2.compiler.vars
fi fi
if [ ${LUA_VERSION} =~ '5.3' ] if [[ ${LUA_VERSION} =~ "5.3" ]]
then then
export INTEROP_DEFINES=-DINTEROP_EXAMPLES=ON -DTESTS_INTEROP_EXAMPLES=ON -DINTEROP_EXAMPLES_SINGLE=ON export INTEROP_DEFINES=-DINTEROP_EXAMPLES=ON -DTESTS_INTEROP_EXAMPLES=ON -DINTEROP_EXAMPLES_SINGLE=ON
else else