Skip to content

Commit

Permalink
Store relative symlinks, not absolute ones.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinmera committed Jul 30, 2024
1 parent 632b1de commit 882dc91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plaintext.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@
:sources (mapcar #'serialize (sources object)))
(let ((link (plaintext-file 'project (name object))))
(when (probe-file link) (delete-file link))
(filesystem-utils:create-symbolic-link link (plaintext-file 'project (id object))))
(filesystem-utils:create-symbolic-link
link (pathname-utils:relative-pathname link (plaintext-file 'project (id object)))))
(store *storage* object 'excluded-systems)
(store *storage* object 'excluded-paths)
(store *storage* object 'releases))
Expand Down

0 comments on commit 882dc91

Please sign in to comment.