Skip to content

Commit

Permalink
Fix _echo to be uniform (_echo just needs to be defined for it to be …
Browse files Browse the repository at this point in the history
…on). (dotnet#12475)
  • Loading branch information
vancem authored and jkotas committed Oct 8, 2016
1 parent 19c56af commit 669d616
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions build.cmd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@if "%_echo%" neq "on" echo off
@if not defined _echo @echo off
setlocal

if /I [%1] == [-?] goto Usage
Expand All @@ -23,4 +23,4 @@ echo For more information: "https://github.com/dotnet/corefx/blob/master/Documen
echo ----------------------------------------------------------------------------
echo.
echo.
goto :Build
goto :Build
4 changes: 2 additions & 2 deletions clean.cmd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@if "%_echo%" neq "on" echo off
@if not defined _echo @echo off
setlocal EnableDelayedExpansion

echo Stop VBCSCompiler.exe execution.
Expand Down Expand Up @@ -31,4 +31,4 @@ echo -all - Combines all of the above.
echo.
echo If no option is specified then clean.cmd -b is implied.

exit /b 1
exit /b 1
4 changes: 2 additions & 2 deletions init-tools.cmd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@if "%_echo%" neq "on" echo off
@if not defined _echo @echo off
setlocal

set INIT_TOOLS_LOG=%~dp0init-tools.log
Expand Down Expand Up @@ -80,4 +80,4 @@ if %UPDATE_CLI_ERRORLEVEL% GTR 1 (
:: Create sempahore file
echo Done initializing tools.
echo Init-Tools.cmd completed for BuildTools Version: %BUILDTOOLS_VERSION% > "%BUILD_TOOLS_SEMAPHORE%"
exit /b 0
exit /b 0
2 changes: 1 addition & 1 deletion run-test.cmd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@if "%_echo%" neq "on" echo off
@if not defined _echo @echo off

:: To run tests outside of MSBuild.exe
:: %1 is the path to the tests\<OSConfig> folder
Expand Down
4 changes: 2 additions & 2 deletions run.cmd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@if "%_echo%" neq "on" echo off
@if not defined _echo @echo off
setlocal

if not defined VisualStudioVersion (
Expand All @@ -24,4 +24,4 @@ set _toolRuntime=%~dp0Tools
set _dotnet=%_toolRuntime%\dotnetcli\dotnet.exe

call %_dotnet% %_toolRuntime%\run.exe %*
exit /b %ERRORLEVEL%
exit /b %ERRORLEVEL%
2 changes: 1 addition & 1 deletion src/Native/build-native.cmd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@if "%_echo%" neq "on" echo off
@if not defined _echo @echo off
setlocal

:SetupArgs
Expand Down

0 comments on commit 669d616

Please sign in to comment.