aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index e4ffc421..24e58ba8 100644
--- a/Makefile
+++ b/Makefile
@@ -168,17 +168,17 @@ install-gvim-config :
install-vim-plugins : vim-plugins install-vim-config
install -m 0755 -d -- "$(HOME)"/.vim/bundle
- cd vim && find bundle -name .git -prune -o \
+ find vim/bundle -name .git -prune -o \
\( -type d -print \) | \
while IFS= read -r dir ; do \
install -m 0755 -d -- \
- "$$dir" "$(HOME)"/.vim/"$$dir" ; \
+ "$$dir" "$(HOME)"/.vim/"$${dir#vim/}" ; \
done
- cd vim && find bundle -name .git -prune -o \
+ find vim/bundle -name .git -prune -o \
\( -type f ! -name '.git*' -print \) | \
while IFS= read -r file ; do \
install -m 0644 -- \
- "$$file" "$(HOME)"/.vim/"$$file" ; \
+ "$$file" "$(HOME)"/.vim/"$${file#vim/}" ; \
done
for dir in vim/after/* ; do \
install -m 0755 -d -- "$(HOME)"/.vim/after/"$${dir##*/}" ; \