aboutsummaryrefslogtreecommitdiff
path: root/src/run.bash
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2011-12-21 01:24:57 -0500
committerRuss Cox <rsc@golang.org>2011-12-21 01:24:57 -0500
commitefa2246e423a2fdbd833e0103def8c6a4cbd5042 (patch)
tree9f1325a41ce411e84bb45bde03f302d4888ac8d6 /src/run.bash
parent9754d61552d6f1b1c6b4f7a02d2b33c016c06f92 (diff)
downloadgo-efa2246e423a2fdbd833e0103def8c6a4cbd5042.tar.xz
build: rewrite to use bash time builtin
Should help windows/amd64 R=adg CC=golang-dev https://golang.org/cl/5500058
Diffstat (limited to 'src/run.bash')
-rwxr-xr-xsrc/run.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/run.bash b/src/run.bash
index 7d8b9bce06..b3cf7862c5 100755
--- a/src/run.bash
+++ b/src/run.bash
@@ -34,7 +34,7 @@ if $rebuild; then
if $USE_GO_TOOL; then
echo
echo '# Package builds'
- GOPATH="" time go install -a all
+ time GOPATH="" go install -a all
else
(xcd pkg
gomake clean
@@ -46,7 +46,7 @@ fi
if $USE_GO_TOOL; then
echo
echo '# Package tests'
- GOPATH="" time go test all -short
+ time GOPATH="" go test all -short
else
(xcd pkg
gomake testshort