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 - 2020-11-21 12:12:38 +01:00
コミット 9e84ba5251
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 1C7071A75BB72D64
1個のファイルの変更2行の追加1行の削除

ファイルの表示

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