aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-05 13:11:57 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-05 13:11:57 +1200
commit39627969dac81be22aef4c0a50548f9e31ed19f9 (patch)
tree52622f1cb0caad511b0105827ca6738f791431ea
parentaa288d9289bc57e44cbb1f50a74c38de63d639ad (diff)
downloaddotfiles-39627969dac81be22aef4c0a50548f9e31ed19f9.tar.gz
Merge bundle install into one command
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7cc4ad1d..93d12a0b 100644
--- a/Makefile
+++ b/Makefile
@@ -525,8 +525,8 @@ install-vim-after-syntax:
install-vim-bundle: install-vim-config
find vim/bundle/*/* \
-type d -exec sh -c \
- 'mkdir -p -- $(VIMDIR)/"$${1#vim/bundle/*/}"' _ {} \;
- find vim/bundle/*/*/* \
+ 'mkdir -p -- $(VIMDIR)/"$${1#vim/bundle/*/}"' _ {} \; \
+ -o \
-type f -exec sh -c \
'cp -p -- "$$1" $(VIMDIR)/"$${1#vim/bundle/*/}"' _ {} \;
vim -eT dumb -c 'helptags $(VIMDIR)/doc' -c quit