From: Mike Krinkin Date: Sat, 14 Mar 2015 07:34:37 +0000 (+0300) Subject: fix build script warning message X-Git-Tag: v2.1.0~306^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1504984e9535fe9863e252392f13983f92862a04;p=libcds.git 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. --- 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 +