Skip to content

Commit 6deb4b7

Browse files
committed
YCM现在改用install.py来安装了
https://github.com/Valloric/YouCompleteMe/blob/master/install.sh python虽然没有bash普及。但是YCM本身也依赖python,所以还是可以假定每个用户都有python环境的。 为了摆脱WARNING,还是切换到`install.py`上来吧。
1 parent ad16cca commit 6deb4b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ export SHELL=$system_shell
3434
echo "Step4: compile YouCompleteMe"
3535
echo "It will take a long time, just be patient!"
3636
echo "If error,you need to compile it yourself"
37-
echo "cd $CURRENT_DIR/bundle/YouCompleteMe/ && bash -x install.sh --clang-completer"
37+
echo "cd $CURRENT_DIR/bundle/YouCompleteMe/ && python install.py --clang-completer"
3838
cd $CURRENT_DIR/bundle/YouCompleteMe/
3939
git submodule update --init --recursive
4040
if [ `which clang` ] # check system clang
4141
then
42-
bash -x install.sh --clang-completer --system-libclang # use system clang
42+
python install.py --clang-completer --system-libclang # use system clang
4343
else
44-
bash -x install.sh --clang-completer
44+
python install.py --clang-completer
4545
fi
4646

4747
echo "Install Done!"

0 commit comments

Comments
 (0)