From a02d857c123e6d84065c0352febc7196639e4506 Mon Sep 17 00:00:00 2001 From: Pier-Paolo Mammi Date: Tue, 7 Jul 2026 09:59:06 +0200 Subject: [PATCH] fix detection of script shell starting point --- setup-environment.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup-environment.bat b/setup-environment.bat index 47acd73..fc0977c 100644 --- a/setup-environment.bat +++ b/setup-environment.bat @@ -1,6 +1,6 @@ @echo off echo %cmdcmdline% | findstr /i /c:"%~nx0" >NUL && set iscommandline=1 -echo %PSModulePath% | findstr "%USERPROFILE%" >NUL && set ispowershell=1 +echo %PSModulePath% | findstr /i /c:"%USERPROFILE%" >NUL && set ispowershell=1 cd /D "%~dp0" echo.