Skip to content

Commit

Permalink
Fix coredistools download script now that Packages layout has changed
Browse files Browse the repository at this point in the history
Fixes dotnet/coreclr#18321


Commit migrated from dotnet/coreclr@d2e2299
  • Loading branch information
RussKeldorph committed Jun 8, 2018
1 parent 781c3a5 commit 15b4ff5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/coreclr/tests/setup-stress-dependencies.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ if errorlevel 1 goto Fail

REM Get downloaded dll path
echo Locating coredistools.dll
FOR /F "delims=" %%i IN ('dir %__PackageDir%\coredistools.dll /b/s ^| findstr /R "runtime.win[0-9]*-%__Arch%"') DO set __LibPath=%%i
FOR /F "delims=" %%i IN ('dir %__PackageDir%\coredistools.dll /b/s ^| findstr /R "win[0-9]*-%__Arch%"') DO set __LibPath=%%i
echo CoreDisTools library path: %__LibPath%
if not exist "%__LibPath%" (
echo Failed to locate the downloaded library: %__LibPath%
Expand Down Expand Up @@ -114,4 +114,4 @@ echo.
echo Usage:
echo %__ThisScriptShort% /arch ^<TargetArch^> /outputdir ^<coredistools_lib_install_path^>
echo.
exit /b 1
exit /b 1

0 comments on commit 15b4ff5

Please sign in to comment.