From 9e84ba52510c8624bda35207a3185628614d49b1 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 21 Nov 2020 12:12:38 +0100 Subject: [PATCH] Ensure sandbox link to local .emacs.d directory is created properly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If `sandbox/.emacs.d` already exists, calling `ln` again seems to create links within this directory. Ensure that this does not happen anymore by deleting the link first if it already exists. Also add `-T` to `ln` to ensure its arguments are interpreted properly. They day I understand argument interpretation in `ln` will be a good day … --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index dde8df7..79c6aae 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,8 @@ distclean: clean sandbox-start: mkdir -p sandbox - ln -s $(PWD) sandbox/.emacs.d + rm -f sandbox/.emacs.d + ln -sT $(PWD) sandbox/.emacs.d HOME=$(PWD)/sandbox emacs timelinetools-test.elc: timeline-tools.elc