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 | |
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)
-rw-r--r-- | build-packages.cmd | 2 | ||||
-rw-r--r-- | build.cmd | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/build-packages.cmd b/build-packages.cmd index 6cce75bc11..a404b09101 100644 --- a/build-packages.cmd +++ b/build-packages.cmd @@ -34,7 +34,7 @@ if [!processedArgs!]==[] ( :ArgsDone set logFile=%__ProjectDir%bin\Logs\build-packages.binlog -powershell -NoProfile -ExecutionPolicy ByPass -NoLogo -File "%~dp0eng\common\build.ps1"^ +powershell -NoProfile -ExecutionPolicy ByPass -NoLogo -File "%__ProjectDir%eng\common\build.ps1"^ -r -b -projects %__ProjectDir%src\.nuget\packages.builds^ -verbosity minimal /bl:%logFile% /nodeReuse:false^ /p:__BuildOS=Windows_NT /p:ArcadeBuild=true^ @@ -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^ |