build: fix on Linux

On other systems the temporary directory name
will have a .XXXXXX in the middle of it.  Oh well.

R=bradfitz
CC=golang-dev
https://golang.org/cl/5504049
This commit is contained in:
Russ Cox 2011-12-20 17:11:16 -05:00
parent ac3028f0a9
commit c037d3f254
15 changed files with 15 additions and 15 deletions

View file

@ -5,7 +5,7 @@
export GOOS=linux
export GOARCH=386
export WORK=$(mktemp -d -t go-build)
export WORK=$(mktemp -d -t go-build.XXXXXX)
trap "rm -rf $WORK" EXIT SIGINT SIGTERM
set -e