From 71ba47ac9ee705a93dca9b4fba510b4a313e8834 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 28 Jul 2011 19:38:14 -0400 Subject: [PATCH] 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 --- src/env.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. -- 2.50.0