From 0b45f6c0d9f03a2993f4e67c9a235b89f2ee6a0e Mon Sep 17 00:00:00 2001 From: Boris Basic <boris.basic@edf.fr> Date: Thu, 15 Dec 2022 13:49:34 +0100 Subject: [PATCH] Batch variables are now local --- build-telemac-deps.bat | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build-telemac-deps.bat b/build-telemac-deps.bat index ec222fe..baa2085 100644 --- a/build-telemac-deps.bat +++ b/build-telemac-deps.bat @@ -17,6 +17,9 @@ if not exist "%~1" ( mkdir "%~1" || exit /b 0 ) +rem Local variables only +setlocal + rem Create the installation path set install_path=%~1 mkdir %install_path% 2>nul @@ -82,6 +85,7 @@ if %compiler% == intel ( echo Unsupported compiler: %compiler% :exit +endlocal popd color 7 exit /b 0 -- GitLab