From 07090aeac6e30044b35929e170f13cf7224f6d61 Mon Sep 17 00:00:00 2001 From: Christophe Dervieux Date: Fri, 4 Sep 2026 15:18:51 +0200 Subject: [PATCH] Fix bare CALL sites in configure.cmd that silently fail on Windows cmd.exe resolves a bare .bat/.cmd name (no path separator) through PATH search, not the current directory, so `call win_configuration.bat` and `call quarto-bld.cmd configure` both failed with "not recognized" and were never checked, leaving package/dist/bin/quarto.cmd unbuilt while configure.cmd still reported success. Prefixing both with .\ makes them explicit relative paths, which cmd.exe always resolves against the current directory. --- configure.cmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.cmd b/configure.cmd index 73a4048344..27f726deec 100644 --- a/configure.cmd +++ b/configure.cmd @@ -7,7 +7,7 @@ REM using ! ! instead of % %. However, this only allows one level of expansio REM try to create a variable that derives from a derived variable. It will be empty. call package\src\store_win_configuration.bat -call win_configuration.bat +call .\win_configuration.bat if NOT DEFINED QUARTO_VENDOR_BINARIES ( set "QUARTO_VENDOR_BINARIES=true" @@ -89,7 +89,7 @@ IF NOT DEFINED QUARTO_DENO_DIR ( PUSHD !QUARTO_PACKAGE_PATH!\src ECHO Configuring Quarto from !cd! -CALL quarto-bld.cmd configure --log-level info +CALL .\quarto-bld.cmd configure --log-level info echo Configuration done POPD