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 …
Cette révision appartient à :
Daniel - 2020-11-21 12:12:38 +01:00
Parent 0cf2ba7d1e
révision 9e84ba5251
Signature inconnue de Gitea
ID de la clé GPG: 1C7071A75BB72D64
1 fichiers modifiés avec 2 ajouts et 1 suppressions

Voir le fichier

@ -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