Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Strehovský <michals@microsoft.com>2015-12-04 20:43:44 +0300
committerMichal Strehovský <michals@microsoft.com>2015-12-04 20:43:44 +0300
commit0d3c1ac77e5af91cf95a2964b35f7e997091b14c (patch)
treec31a0b8c6eccf82608fe6d4328980bfd054867f9 /src/Common
parent4c7659cffec130f553c0fbc1d29e324a35d78247 (diff)
Use setlocal to prevent __py from leaking
Diffstat (limited to 'src/Common')
-rw-r--r--src/Common/src/Internal/Metadata/NativeFormat/UpdateNativeFormatSources.cmd2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Common/src/Internal/Metadata/NativeFormat/UpdateNativeFormatSources.cmd b/src/Common/src/Internal/Metadata/NativeFormat/UpdateNativeFormatSources.cmd
index 018ac1e07..238a8d174 100644
--- a/src/Common/src/Internal/Metadata/NativeFormat/UpdateNativeFormatSources.cmd
+++ b/src/Common/src/Internal/Metadata/NativeFormat/UpdateNativeFormatSources.cmd
@@ -1,5 +1,7 @@
@echo off
+setlocal
+
if "%PYTHON%"=="" (
echo PYTHON environment variable not set. Point this to a Python interpreter EXE (e.g. ipy.exe for IronPython^)
exit /b 1