From: Samir Benmendil Date: Sat, 27 Oct 2012 05:28:04 +0000 (+0200) Subject: no target dir in ln X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/04fed8e4657d28df3ca947ea34c2a5d8f9ccc02f no target dir in ln --- diff --git a/Makefile b/Makefile index 1c5af2e..64e9b73 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ $(FILES): fi; \ rm -r ~/$@; \ fi; - ln -sf $(RPATH)/$@ ~/$@ + ln -sfT $(RPATH)/$@ ~/$@ $(DOTFILES): @if [[ -e ~/.$@ && ! -L ~/.$@ ]]; then \ @@ -27,4 +27,4 @@ $(DOTFILES): fi; \ rm -r ~/.$@; \ fi; - ln -sf $(RPATH)/$@ ~/.$@ + ln -sfT $(RPATH)/$@ ~/.$@