diff --git a/Build.cmd b/Build.cmd index 10845940e24..5f7196bcdf1 100644 --- a/Build.cmd +++ b/Build.cmd @@ -1,2 +1,2 @@ @echo off -powershell -ExecutionPolicy ByPass -NoProfile -command "Measure-Command { & """%~dp0eng\build.ps1""" -build -restore %* } | Select-Object TotalMinutes, TotalSeconds" +powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0eng\Build.ps1""" -restore -build %*" diff --git a/build.sh b/build.sh index a8c0c9d6a29..75055e9c922 100755 --- a/build.sh +++ b/build.sh @@ -13,4 +13,4 @@ while [[ -h $source ]]; do done scriptroot="$( cd -P "$( dirname "$source" )" && pwd )" -time "$scriptroot/eng/build.sh" --build --restore "$@" +"$scriptroot/eng/build.sh" --restore --build $@