Skip to content

Commit 7e3d8a0

Browse files
authored
Merge pull request #1178 from milanglacier/patch-1
feat: respect absolute path for straight-profiles for bootstrap install
2 parents ec4eb22 + cbe1823 commit 7e3d8a0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

install.el

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,10 @@
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
122+
(expand-file-name
123+
lockfile-name
124+
(concat straight-install-dir "straight/versions"))))
124125
(when (file-exists-p lockfile-path)
125126
(condition-case nil
126127
(with-temp-buffer

0 commit comments

Comments
 (0)