diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-05-18 18:11:09 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-05-18 18:11:09 +1200 |
commit | 3d2b03cf567bcf0da3a68a0c390a9c60ba21cb19 (patch) | |
tree | f88659db29660b6ad6857ade5bf13f1ba74d8f37 | |
parent | Quote $SHELL in .tmux.conf (diff) | |
download | dotfiles-3d2b03cf567bcf0da3a68a0c390a9c60ba21cb19.tar.gz dotfiles-3d2b03cf567bcf0da3a68a0c390a9c60ba21cb19.zip |
Don't change directory during Makefile run
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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##*/}" ; \ |