Skip to content

Commit 02722c6

Browse files
committed
feat: respect absolute path for straight-profiles for bootstrap installation.
1 parent 33fb469 commit 02722c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@
118118
;; the recipe specification, and forgot to update which repository
119119
;; their init-file downloaded install.el from).
120120
(dolist (lockfile-name (mapcar #'cdr straight-profiles))
121-
(let ((lockfile-path (concat straight-install-dir
122-
"straight/versions/"
123-
lockfile-name)))
121+
(let ((lockfile-path (expand-file-name
122+
lockfile-name
123+
(concat straight-install-dir "straight/versions"))))
124124
(when (file-exists-p lockfile-path)
125125
(condition-case nil
126126
(with-temp-buffer

0 commit comments

Comments
 (0)