Skip to content

Commit

Permalink
Account for /var being linked to /private/var on OSX for a test
Browse files Browse the repository at this point in the history
* jupyter-test.el (org-babel-jupyter-:dir-header-arg): Do it.
  • Loading branch information
nnicandro committed Nov 18, 2024
1 parent 54d7f6a commit 79e76a7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/jupyter-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -2844,7 +2844,9 @@ x
;; Convert forward slashes to backslashes on Windows
(if (memq system-type '(windows-nt cygwin ms-dos))
(replace-regexp-in-string "/" "\\\\" s)
s)))
;; Account for symlinked directories like /var being
;; linked to /private/var on OSX.
(file-truename s))))
(temporary-file-directory jupyter-test-temporary-directory))
(let ((dir (make-temp-file "dir" t))
(pwd
Expand Down

0 comments on commit 79e76a7

Please sign in to comment.