Skip to content

Commit

Permalink
Merge pull request ycm-core#76 from ptrv/fix-condition-in-build-script
Browse files Browse the repository at this point in the history
Fix condition in build script
  • Loading branch information
Valloric committed Jan 1, 2015
2 parents 1a1bded + ad19e77 commit 9e962ce
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 9e962ce

Please sign in to comment.