From 3d2b03cf567bcf0da3a68a0c390a9c60ba21cb19 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 18 May 2015 18:11:09 +1200 Subject: Don't change directory during Makefile run --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile') 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##*/}" ; \ -- cgit v1.2.3