Skip to content
Snippets Groups Projects
Commit 0b45f6c0 authored by Boris Basic's avatar Boris Basic
Browse files

Batch variables are now local

parent c31baa07
No related branches found
No related tags found
No related merge requests found
...@@ -17,6 +17,9 @@ if not exist "%~1" ( ...@@ -17,6 +17,9 @@ if not exist "%~1" (
mkdir "%~1" || exit /b 0 mkdir "%~1" || exit /b 0
) )
rem Local variables only
setlocal
rem Create the installation path rem Create the installation path
set install_path=%~1 set install_path=%~1
mkdir %install_path% 2>nul mkdir %install_path% 2>nul
...@@ -82,6 +85,7 @@ if %compiler% == intel ( ...@@ -82,6 +85,7 @@ if %compiler% == intel (
echo Unsupported compiler: %compiler% echo Unsupported compiler: %compiler%
:exit :exit
endlocal
popd popd
color 7 color 7
exit /b 0 exit /b 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment