From 065ebc4a86200b51cfd2f0418f4a776b8a42682b Mon Sep 17 00:00:00 2001 From: Alexander Smarus Date: Tue, 7 Nov 2023 16:09:36 +0200 Subject: [PATCH] utils: adjust build.ps1 help invocation in helper launcher As the helper script could (and probably always would) be launched from a directory outside of the source tree, it is convenient to use an absolute path in Get-Help invocation, just like we do in the `build.ps1` invocation below. Also, quoting might be necessary for paths with spaces. --- utils/build.cmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/build.cmd b/utils/build.cmd index 71be1711231..71497af6301 100644 --- a/utils/build.cmd +++ b/utils/build.cmd @@ -1,7 +1,7 @@ @echo off setlocal if "%1"=="/?" ( - powershell.exe -Command "& Get-Help -Detailed .\build.ps1" + powershell.exe -Command "& Get-Help -Detailed ""%~dp0\build.ps1""" exit /b )