mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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:
parent
ac3028f0a9
commit
c037d3f254
15 changed files with 15 additions and 15 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue