File tree 6 files changed +10
-10
lines changed
6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
- @ if " %_echo% " neq " on " echo off
1
+ @ if not defined _echo @ echo off
2
2
setlocal
3
3
4
4
if /I [%1 ] == [-?] goto Usage
@@ -23,4 +23,4 @@ echo For more information: "https://github.com/dotnet/corefx/blob/master/Documen
23
23
echo ----------------------------------------------------------------------------
24
24
echo .
25
25
echo .
26
- goto :Build
26
+ goto :Build
Original file line number Diff line number Diff line change 1
- @ if " %_echo% " neq " on " echo off
1
+ @ if not defined _echo @ echo off
2
2
setlocal EnableDelayedExpansion
3
3
4
4
echo Stop VBCSCompiler.exe execution.
@@ -31,4 +31,4 @@ echo -all - Combines all of the above.
31
31
echo .
32
32
echo If no option is specified then clean.cmd -b is implied.
33
33
34
- exit /b 1
34
+ exit /b 1
Original file line number Diff line number Diff line change 1
- @ if " %_echo% " neq " on " echo off
1
+ @ if not defined _echo @ echo off
2
2
setlocal
3
3
4
4
set INIT_TOOLS_LOG = %~dp0 init-tools.log
@@ -80,4 +80,4 @@ if %UPDATE_CLI_ERRORLEVEL% GTR 1 (
80
80
:: Create sempahore file
81
81
echo Done initializing tools.
82
82
echo Init-Tools.cmd completed for BuildTools Version: %BUILDTOOLS_VERSION% > " %BUILD_TOOLS_SEMAPHORE% "
83
- exit /b 0
83
+ exit /b 0
Original file line number Diff line number Diff line change 1
- @ if " %_echo% " neq " on " echo off
1
+ @ if not defined _echo @ echo off
2
2
3
3
:: To run tests outside of MSBuild.exe
4
4
:: %1 is the path to the tests\<OSConfig> folder
Original file line number Diff line number Diff line change 1
- @ if " %_echo% " neq " on " echo off
1
+ @ if not defined _echo @ echo off
2
2
setlocal
3
3
4
4
if not defined VisualStudioVersion (
@@ -24,4 +24,4 @@ set _toolRuntime=%~dp0Tools
24
24
set _dotnet = %_toolRuntime% \dotnetcli\dotnet.exe
25
25
26
26
call %_dotnet% %_toolRuntime% \run.exe %*
27
- exit /b %ERRORLEVEL%
27
+ exit /b %ERRORLEVEL%
Original file line number Diff line number Diff line change 1
- @ if " %_echo% " neq " on " echo off
1
+ @ if not defined _echo @ echo off
2
2
setlocal
3
3
4
4
:SetupArgs
You can’t perform that action at this time.
0 commit comments