Permalink
Browse files

Standardize on _echo name (#7532)

  • Loading branch information...
1 parent 4170428 commit 5f2aa3a6eb159abc79c527d164b54998459c4df5 @vancem vancem committed with jkotas Oct 8, 2016
Showing with 16 additions and 16 deletions.
  1. +1 −1 build-packages.cmd
  2. +3 −3 build-test.cmd
  3. +5 −5 build.cmd
  4. +1 −1 clean.cmd
  5. +1 −1 init-tools.cmd
  6. +1 −1 publish-packages.cmd
  7. +1 −1 run.cmd
  8. +1 −1 sync.cmd
  9. +1 −1 tests/runtest.cmd
  10. +1 −1 tests/setup-runtime-dependencies.cmd
View
@@ -1,4 +1,4 @@
-@if "%_echo%" neq "on" echo off
+@if not defined _echo @echo off
setlocal EnableDelayedExpansion
set "__ProjectDir=%~dp0"
View
@@ -1,4 +1,4 @@
-@if not defined __echo @echo off
+@if not defined _echo @echo off
setlocal EnableDelayedExpansion
:: Set the default arguments for build
@@ -129,7 +129,7 @@ if defined __ToolsetDir (
:: Set the environment for the native build
echo %__MsgPrefix%Using environment: "%__VSToolsRoot%\..\..\VC\vcvarsall.bat" %__VCBuildArch%
call "%__VSToolsRoot%\..\..\VC\vcvarsall.bat" %__VCBuildArch%
-@if defined __echo @echo on
+@if defined _echo @echo on
if not defined VSINSTALLDIR (
echo %__MsgPrefix%Error: VSINSTALLDIR variable not defined.
@@ -141,7 +141,7 @@ if not exist "%VSINSTALLDIR%DIA SDK" goto NoDIA
pushd "%__NativeTestIntermediatesDir%"
call "%__SourceDir%\pal\tools\gen-buildsys-win.bat" ""%__ProjectFilesDir%"" %__VSVersion% %__BuildArch%
-@if defined __echo @echo on
+@if defined _echo @echo on
popd
if not exist "%__NativeTestIntermediatesDir%\install.vcxproj" (
View
@@ -1,4 +1,4 @@
-@if not defined __echo @echo off
+@if not defined _echo @echo off
setlocal EnableDelayedExpansion EnableExtensions
set __ThisScriptFull="%~f0"
@@ -224,7 +224,7 @@ if %__BuildNative% EQU 1 (
if /i "%__BuildArch%" == "arm" (set __VCBuildArch=x86_arm)
echo %__MsgPrefix%Using environment: "%__VSToolsRoot%\..\..\VC\vcvarsall.bat" !__VCBuildArch!
call "%__VSToolsRoot%\..\..\VC\vcvarsall.bat" !__VCBuildArch!
- @if defined __echo @echo on
+ @if defined _echo @echo on
if not defined VSINSTALLDIR (
echo %__MsgPrefix%Error: VSINSTALLDIR variable not defined.
@@ -239,7 +239,7 @@ if %__BuildNative% EQU 1 (
pushd "%__IntermediatesDir%"
set __ExtraCmakeArgs="-DCLR_CMAKE_TARGET_OS=%__BuildOs%" "-DCLR_CMAKE_PACKAGES_DIR=%__PackagesDir%" "-DCLR_CMAKE_PGO_INSTRUMENT=%__PgoInstrument%"
call "%__SourceDir%\pal\tools\gen-buildsys-win.bat" "%__ProjectDir%" %__VSVersion% %__BuildArch% %__BuildJit32% !__ExtraCmakeArgs!
- @if defined __echo @echo on
+ @if defined _echo @echo on
popd
:SkipConfigure
if defined __ConfigureOnly goto SkipNativeBuild
@@ -283,7 +283,7 @@ if /i "%__DoCrossArchBuild%"=="1" (
set __VCBuildArch=x86_amd64
if /i "%__CrossArch%" == "x86" ( set __VCBuildArch=x86 )
@call "%__VSToolsRoot%\..\..\VC\vcvarsall.bat" !__VCBuildArch!
- @if defined __echo @echo on
+ @if defined _echo @echo on
if not exist "%__CrossCompIntermediatesDir%" md "%__CrossCompIntermediatesDir%"
if defined __SkipConfigure goto SkipConfigureCrossBuild
@@ -293,7 +293,7 @@ if /i "%__DoCrossArchBuild%"=="1" (
set "__CMakeBinDir=!__CMakeBinDir:\=/!"
set __ExtraCmakeArgs="-DCLR_CROSS_COMPONENTS_BUILD=1" "-DCLR_CMAKE_TARGET_ARCH=%__BuildArch%" "-DCLR_CMAKE_TARGET_OS=%__BuildOs%" "-DCLR_CMAKE_PACKAGES_DIR=%__PackagesDir%" "-DCLR_CMAKE_PGO_INSTRUMENT=%__PgoInstrument%"
call "%__SourceDir%\pal\tools\gen-buildsys-win.bat" "%__ProjectDir%" %__VSVersion% %__CrossArch% !__ExtraCmakeArgs!
- @if defined __echo @echo on
+ @if defined _echo @echo on
popd
:SkipConfigureCrossBuild
if not exist "%__CrossCompIntermediatesDir%\install.vcxproj" (
View
@@ -1,4 +1,4 @@
-@if not defined __echo @echo off
+@if not defined _echo @echo off
setlocal EnableDelayedExpansion
echo Running clean.cmd
View
@@ -1,4 +1,4 @@
-@echo off
+@if not defined _echo @echo off
setlocal
set INIT_TOOLS_LOG=%~dp0init-tools.log
@@ -1,4 +1,4 @@
-@if "%_echo%" neq "on" echo off
+@if not defined _echo @echo off
setlocal EnableDelayedExpansion
if /I [%1] == [-?] goto Usage
View
@@ -1,4 +1,4 @@
-@if "%_echo%" neq "on" echo off
+@if not defined _echo @echo off
setlocal
if not defined VisualStudioVersion (
View
@@ -1,4 +1,4 @@
-@if "%_echo%" neq "on" echo off
+@if not defined _echo @echo off
setlocal EnableDelayedExpansion
if /I [%1] == [-?] goto Usage
View
@@ -1,4 +1,4 @@
-@if not defined __echo @echo off
+@if not defined _echo @echo off
setlocal EnableDelayedExpansion
:: Set the default arguments
@@ -1,4 +1,4 @@
-@if not defined __echo @echo off
+@if not defined _echo @echo off
setlocal
set __ThisScriptShort=%0

0 comments on commit 5f2aa3a

Please sign in to comment.