From 79e76a733fc878bf7bc915d707d2b39848f414b5 Mon Sep 17 00:00:00 2001 From: Nathaniel Nicandro Date: Mon, 18 Nov 2024 09:07:50 -0600 Subject: [PATCH] Account for /var being linked to /private/var on OSX for a test * jupyter-test.el (org-babel-jupyter-:dir-header-arg): Do it. --- test/jupyter-test.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/jupyter-test.el b/test/jupyter-test.el index dc87dffb..766812be 100644 --- a/test/jupyter-test.el +++ b/test/jupyter-test.el @@ -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