From 8dbfb2a503a0dc3d4e879e51bf3bae59b0f8b783 Mon Sep 17 00:00:00 2001 From: Patrick Ferris Date: Fri, 10 Jul 2026 10:40:28 +0000 Subject: [PATCH] Normalize current working directory --- src/lib/eval.ml | 2 +- 1 file(s) changed, 1 insertion(s)(+), 1 deletion(s)(-) diff --git a/src/lib/eval.ml b/src/lib/eval.ml --- a/src/lib/eval.ml +++ b/src/lib/eval.ml @@ -2018,7 +2018,7 @@ | Some p -> let fp = Fpath.append cwd (Fpath.v p) in if Eio.Path.is_directory (ctx.fs / Fpath.to_string fp) then begin Unix.chdir (Fpath.to_string fp); - Exit.zero @@ S.set_cwd ctx.state fp + Exit.zero @@ S.set_cwd ctx.state (Fpath.normalize fp) end else Exit.nonzero_msg ~exit_code:1 ctx.state -- tangled.sh