Skip to content

Commit

Permalink
feat: respect absolute path for straight-profiles for bootstrap insta…
Browse files Browse the repository at this point in the history
…llation.
  • Loading branch information
milanglacier committed Jan 21, 2025
1 parent 33fb469 commit cbe1823
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions install.el
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,10 @@
;; the recipe specification, and forgot to update which repository
;; their init-file downloaded install.el from).
(dolist (lockfile-name (mapcar #'cdr straight-profiles))
(let ((lockfile-path (concat straight-install-dir
"straight/versions/"
lockfile-name)))
(let ((lockfile-path
(expand-file-name
lockfile-name
(concat straight-install-dir "straight/versions"))))
(when (file-exists-p lockfile-path)
(condition-case nil
(with-temp-buffer
Expand Down

0 comments on commit cbe1823

Please sign in to comment.