diff options
author | Michal Strehovský <michals@microsoft.com> | 2015-12-04 20:43:44 +0300 |
---|---|---|
committer | Michal Strehovský <michals@microsoft.com> | 2015-12-04 20:43:44 +0300 |
commit | 0d3c1ac77e5af91cf95a2964b35f7e997091b14c (patch) | |
tree | c31a0b8c6eccf82608fe6d4328980bfd054867f9 /src/Common | |
parent | 4c7659cffec130f553c0fbc1d29e324a35d78247 (diff) |
Use setlocal to prevent __py from leaking
Diffstat (limited to 'src/Common')
-rw-r--r-- | src/Common/src/Internal/Metadata/NativeFormat/UpdateNativeFormatSources.cmd | 2 |
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 |