From: Russ Cox Date: Thu, 28 Jul 2011 23:38:14 +0000 (-0400) Subject: build: fix noclobber X-Git-Tag: weekly.2011-07-29~14 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=71ba47ac9ee705a93dca9b4fba510b4a313e8834;p=gostls13.git 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 --- diff --git a/src/env.bash b/src/env.bash index a01a03e45c..de446bf479 100644 --- a/src/env.bash +++ b/src/env.bash @@ -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.