diff options
author | Elinor Fung <47805090+elinor-fung@users.noreply.github.com> | 2019-05-29 17:10:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-29 17:10:41 -0700 |
commit | 0950e5200eaefab9ac75edd59d23ef69eaccf539 (patch) | |
tree | 6966c9b6b5ba9a65deee7f3acec2e7fa1c9ce566 /build.cmd | |
parent | 42d8e40e469cf00128e0cfa48f24297afa13c36f (diff) | |
download | coreclr-0950e5200eaefab9ac75edd59d23ef69eaccf539.tar.gz coreclr-0950e5200eaefab9ac75edd59d23ef69eaccf539.tar.bz2 coreclr-0950e5200eaefab9ac75edd59d23ef69eaccf539.zip |
Stop using %~dp0 in build scripts after args processing (#24842)
Diffstat (limited to 'build.cmd')
-rw-r--r-- | build.cmd | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -362,7 +362,7 @@ REM ============================================================================ @if defined _echo @echo on -powershell -NoProfile -ExecutionPolicy ByPass -NoLogo -File "%~dp0eng\common\msbuild.ps1"^ +powershell -NoProfile -ExecutionPolicy ByPass -NoLogo -File "%__ProjectDir%\eng\common\msbuild.ps1"^ %__ProjectDir%\eng\empty.proj /p:NativeVersionFile="%__RootBinDir%\obj\_version.h"^ /p:ArcadeBuild=true /t:GenerateNativeVersionFile /restore^ %__CommonMSBuildArgs% %__UnprocessedBuildArgs% @@ -832,7 +832,7 @@ if %__BuildPackages% EQU 1 ( REM The conditions as to what to build are captured in the builds file. REM Package build uses the Arcade system and scripts, relying on it to restore required toolsets as part of build - powershell -NoProfile -ExecutionPolicy ByPass -NoLogo -File "%~dp0eng\common\build.ps1"^ + powershell -NoProfile -ExecutionPolicy ByPass -NoLogo -File "%__ProjectDir%\eng\common\build.ps1"^ -r -b -projects %__SourceDir%\.nuget\packages.builds^ -verbosity minimal /nodeReuse:false /bl:!__BuildLog!^ /p:RestoreDefaultOptimizationDataPackage=false /p:PortableBuild=true^ |