1
0
mirror of https://github.com/golang/go synced 2024-11-22 00:44: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:
Russ Cox 2011-07-28 19:38:14 -04:00
parent 1b4dff0f69
commit 71ba47ac9e

View File

@ -89,9 +89,9 @@ if bison --version 2>&1 | grep 'bison++' >/dev/null 2>&1; then
fi fi
# Issue 2020: some users configure bash to default to # 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. # 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 # Tried to use . <($MAKE ...) here, but it cannot set environment
# variables in the version of bash that ships with OS X. Amazing. # variables in the version of bash that ships with OS X. Amazing.