Skip to content

Commit

Permalink
Fix condition in build script
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrv committed Dec 31, 2014
1 parent 150aa22 commit ad19e77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ for flag in $@; do
esac
done

if [ $cmake_args = *-DUSE_SYSTEM_LIBCLANG=ON* ] && \
[ $cmake_args != *-DUSE_CLANG_COMPLETER=ON* ]; then
if echo $cmake_args | grep -q ".*-DUSE_SYSTEM_LIBCLANG=ON.*" &&
! echo $cmake_args | grep -q ".*-DUSE_CLANG_COMPLETER=ON.*"; then
usage
fi

Expand Down

0 comments on commit ad19e77

Please sign in to comment.