1
0
mirror of https://github.com/golang/go synced 2024-11-11 23:50:22 -07: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:
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

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

View File

@ -5,7 +5,7 @@
export GOOS=darwin
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

View File

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

View File

@ -5,7 +5,7 @@
export GOOS=freebsd
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

View File

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

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

View File

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

View File

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

View File

@ -5,7 +5,7 @@
export GOOS=netbsd
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

View File

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

View File

@ -5,7 +5,7 @@
export GOOS=openbsd
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

View File

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

View File

@ -5,7 +5,7 @@
export GOOS=plan9
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

View File

@ -5,7 +5,7 @@
export GOOS=windows
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

View File

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