From 5b7143ddc5f8386d32a73341ff59eab4a6a7e9fa Mon Sep 17 00:00:00 2001 From: Chu-Siang Lai Date: Tue, 20 Mar 2018 03:40:23 +0800 Subject: [PATCH] Overwrite the exist '~/.vim' directory, not recursive --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6845c94..99d59f2 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,8 @@ install: @echo '==> Copy vimrc ...' cat _vimrc > ${FILE_VIMRC} cat _gvimrc > ${FILE_GVIMRC} - cp -a _vim/ ${DIR_VIM} + mkdir -p ${DIR_VIM}/ + cp -r _vim/* ${DIR_VIM}/ @echo '==> Install dein.vim ...' ifneq ("$(wildcard ${DEIN_TARGET})","")