mirror of
https://github.com/golang/go
synced 2024-11-21 17:54:39 -07:00
build: fix noclobber
I got it backwards last time, and somehow that was leaking into the parent shell? R=golang-dev, iant CC=golang-dev https://golang.org/cl/4826054
This commit is contained in:
parent
1b4dff0f69
commit
71ba47ac9e
@ -89,9 +89,9 @@ if bison --version 2>&1 | grep 'bison++' >/dev/null 2>&1; then
|
||||
fi
|
||||
|
||||
# Issue 2020: some users configure bash to default to
|
||||
# set +o noclobber
|
||||
# set -o noclobber
|
||||
# which makes >x fail if x already exists. Restore sanity.
|
||||
set -o noclobber
|
||||
set +o noclobber
|
||||
|
||||
# Tried to use . <($MAKE ...) here, but it cannot set environment
|
||||
# variables in the version of bash that ships with OS X. Amazing.
|
||||
|
Loading…
Reference in New Issue
Block a user