Commit 10f2d4d6 authored by Adrien Oliva's avatar Adrien Oliva
Browse files

Use LN variable instead of ln -s in Makefile

parent e7cd5189
......@@ -108,7 +108,7 @@ plugin-soft: prepare-plugin
$(call soft-install, "$(VIMPATH)/pack", "$(PWD)/pack")
$(call update-ycm)
@if [[ ! -f /usr/bin/libtinfo.so.5 ]]; then \
sudo ln -s /usr/lib/libncurses.so /usr/lib/libtinfo.so.5; \
sudo $(LN) /usr/lib/libncurses.so /usr/lib/libtinfo.so.5; \
fi
plugin-hard: prepare-plugin
......@@ -116,7 +116,7 @@ plugin-hard: prepare-plugin
$(call hard-install, "$(VIMPATH)/pack", "$(PWD)/pack/"*)
$(call update-ycm)
@if [[ ! -f /usr/bin/libtinfo.so.5 ]]; then \
sudo ln -s /usr/lib/libncurses.so /usr/lib/libtinfo.so.5; \
sudo $(LN) /usr/lib/libncurses.so /usr/lib/libtinfo.so.5; \
fi
plugin: prepare-plugin
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment