diff options
author | Russ Cox <rsc@golang.org> | 2011-05-25 13:20:50 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2011-05-25 13:20:50 -0400 |
commit | ecfb279e5a4e6a3e1f62b2fdc25256e5b23c7264 (patch) | |
tree | 82adf0e1368013ceecd4d3b63377f1f00428c7bb /src/quietgcc.bash | |
parent | c33fe49e966774af6724a53fb60dd24e75503f3f (diff) | |
download | go-ecfb279e5a4e6a3e1f62b2fdc25256e5b23c7264.tar.gz |
quietgcc: fix typo, respect $TMPDIR
R=golang-dev, bradfitz
CC=golang-dev
http://codereview.appspot.com/4529087
Diffstat (limited to 'src/quietgcc.bash')
-rwxr-xr-x | src/quietgcc.bash | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quietgcc.bash b/src/quietgcc.bash index e29ee4f64..c99305eda 100755 --- a/src/quietgcc.bash +++ b/src/quietgcc.bash @@ -4,7 +4,7 @@ # license that can be found in the LICENSE file. # The master for this file is $GOROOT/src/quietgcc.bash -# Changes made to $GOBIN/quietgcc will be overridden. +# Changes made to $GOBIN/quietgcc will be overwritten. # Gcc output that we don't care to see. ignore=': error: .Each undeclared identifier' @@ -32,7 +32,7 @@ case "$(uname -m -p)-$GOHOSTARCH" in esac # Run gcc, save error status, redisplay output without noise, exit with gcc status. -tmp=/tmp/qcc.$$.$USER.out +tmp=${TMPDIR:-/tmp}/quietgcc.$$.$USER.out $gcc -Wall -Wno-sign-compare -Wno-missing-braces \ -Wno-parentheses -Wno-unknown-pragmas -Wno-switch -Wno-comment \ -Werror \ |