fix minor issue with build scripts

This commit is contained in:
Andrew Stanton-Nurse 2015-11-17 15:15:28 -08:00
parent f5a3ec581d
commit a492ea7834
4 changed files with 8 additions and 5 deletions

View file

@ -1,4 +1,6 @@
@echo off
REM Copyright (c) .NET Foundation and contributors. All rights reserved. REM Copyright (c) .NET Foundation and contributors. All rights reserved.
REM Licensed under the MIT license. See LICENSE file in the project root for full license information. REM Licensed under the MIT license. See LICENSE file in the project root for full license information.
@powershell -NoProfile -NoLogo -File %~dp0scripts\build.ps1 %* powershell -NoProfile -NoLogo -File %~dp0scripts\build.ps1 %*

View file

@ -9,7 +9,7 @@ param(
$ErrorActionPreference="Stop" $ErrorActionPreference="Stop"
# Use a repo-local install directory (but not the artifacts directory because that gets cleaned a lot # Use a repo-local install directory (but not the artifacts directory because that gets cleaned a lot
$env:DOTNET_INSTALL_DIR="$PSScriptRoot\.dotnet_stage0\win7-x64" $env:DOTNET_INSTALL_DIR="$(Convert-Path "$PSScriptRoot\..")\.dotnet_stage0\win7-x64"
if (!(Test-Path $env:DOTNET_INSTALL_DIR)) if (!(Test-Path $env:DOTNET_INSTALL_DIR))
{ {
mkdir $env:DOTNET_INSTALL_DIR | Out-Null mkdir $env:DOTNET_INSTALL_DIR | Out-Null

View file

@ -1,8 +1,8 @@
@echo off
REM Copyright (c) .NET Foundation and contributors. All rights reserved. REM Copyright (c) .NET Foundation and contributors. All rights reserved.
REM Licensed under the MIT license. See LICENSE file in the project root for full license information. REM Licensed under the MIT license. See LICENSE file in the project root for full license information.
@echo off
CALL %~dp0..\build.cmd %* CALL %~dp0..\build.cmd %*
exit /b %errorlevel% exit /b %errorlevel%

View file

@ -1,7 +1,8 @@
@Echo OFF
REM Copyright (c) .NET Foundation and contributors. All rights reserved. REM Copyright (c) .NET Foundation and contributors. All rights reserved.
REM Licensed under the MIT license. See LICENSE file in the project root for full license information. REM Licensed under the MIT license. See LICENSE file in the project root for full license information.
@Echo OFF
SETLOCAL SETLOCAL
SET ERRORLEVEL= SET ERRORLEVEL=