Browse Source

Ensure sandbox link to local .emacs.d directory is created properly

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 …
master
Daniel 7 months ago
parent
commit
9e84ba5251
No known key found for this signature in database
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      Makefile

+ 2
- 1
Makefile View File

@@ -26,7 +26,8 @@ distclean: clean
26 26
 
27 27
 sandbox-start:
28 28
 	mkdir -p sandbox
29
-	ln -s $(PWD) sandbox/.emacs.d
29
+	rm -f sandbox/.emacs.d
30
+	ln -sT $(PWD) sandbox/.emacs.d
30 31
 	HOME=$(PWD)/sandbox emacs
31 32
 
32 33
 timelinetools-test.elc: timeline-tools.elc

Loading…
Cancel
Save