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 …
Daniel Borchmann 2 years ago
parent 0cf2ba7d1e
commit 9e84ba5251
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64

@ -26,7 +26,8 @@ distclean: clean
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