From 1504984e9535fe9863e252392f13983f92862a04 Mon Sep 17 00:00:00 2001 From: Mike Krinkin Date: Sat, 14 Mar 2015 10:34:37 +0300 Subject: [PATCH] fix build script warning message With the following command line: > bash build.sh -c gcc -x g++ -b 64 -o linux -j 2 --clean i get the next warning message: > build.sh: line 456: test: !=: unary operator expected This patch fixes this warning. --- build/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/build.sh b/build/build.sh index 7e79549d..dedc7ab0 100644 --- a/build/build.sh +++ b/build/build.sh @@ -453,7 +453,7 @@ cxx_debug_options="-D_DEBUG -O0 -g $cxx_debug_options" cxx_release_options="-DNDEBUG $cxx_release_optimization $cxx_release_options" -if test $BOOST_INCLUDE_PATH != ''; then +if test 'x$BOOST_INCLUDE_PATH' != 'x'; then buildCXXflags="$buildCXXflags -I$BOOST_INCLUDE_PATH" fi @@ -610,4 +610,4 @@ if test $MAKE_DEBUG_TEST = '1'; then exit $? fi fi - \ No newline at end of file + -- 2.34.1