From 74985f6c4a97135b6427b19db8327b61a57eaac2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kate=C5=99ina=20Churanov=C3=A1?= Date: Thu, 11 Jun 2026 13:10:15 +0200 Subject: [PATCH] fix: resolve install-callgrind-tools.ps1 path via justfile_directory() The install-tools recipe runs as a `[script]` block, which Just writes to a temp file before executing. `` therefore expands to the temp directory, not the repo, so the relative lookup `\..\scripts\install-callgrind-tools.ps1` fails with "The term '...' is not recognized as a name of a cmdlet, function, script file, or executable program". Use Just's `{{justfile_directory()}}` which is interpolated at recipe build time and always points at the repository root. AB#7477055 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- justfiles/setup.just | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/justfiles/setup.just b/justfiles/setup.just index a876721f7..95b689cd9 100644 --- a/justfiles/setup.just +++ b/justfiles/setup.just @@ -50,4 +50,4 @@ install-tools: } # Install platform-specific benchmark toolchain (Callgrind, Linux-only). - & (Join-Path $PSScriptRoot ".." "scripts" "install-callgrind-tools.ps1") + & (Join-Path '{{justfile_directory()}}' "scripts" "install-callgrind-tools.ps1")