diff -r 5992bf56aa72 src/cmd/gofmt/test.sh --- a/src/cmd/gofmt/test.sh Thu Jul 15 13:04:04 2010 +1000 +++ b/src/cmd/gofmt/test.sh Fri Jul 23 16:21:37 2010 -0700 @@ -52,6 +52,7 @@ "$1" "$2"; count "$F" } +GREP_OPTIONS="" # apply to local files applydot() { diff -r 5992bf56aa72 src/cmd/gotest/gotest --- a/src/cmd/gotest/gotest Thu Jul 15 13:04:04 2010 +1000 +++ b/src/cmd/gotest/gotest Fri Jul 23 16:21:37 2010 -0700 @@ -13,6 +13,8 @@ unset LANG export LC_ALL=C export LC_CTYPE=C +export GREP_OPTIONS="" +export GREP_COLORS="" GOBIN="${GOBIN:-$HOME/bin}" diff -r 5992bf56aa72 src/pkg/deps.bash --- a/src/pkg/deps.bash Thu Jul 15 13:04:04 2010 +1000 +++ b/src/pkg/deps.bash Fri Jul 23 16:21:37 2010 -0700 @@ -6,6 +6,9 @@ OUT="Make.deps" TMP="Make.deps.tmp" +GREP_OPTIONS="" +GREP_COLORS="" + if [ -f $OUT ] && ! [ -w $OUT ]; then echo "$0: $OUT is read-only; aborting." 1>&2 exit 1 diff -r 5992bf56aa72 src/pkg/exp/eval/test.bash --- a/src/pkg/exp/eval/test.bash Thu Jul 15 13:04:04 2010 +1000 +++ b/src/pkg/exp/eval/test.bash Fri Jul 23 16:21:37 2010 -0700 @@ -11,6 +11,8 @@ set -e GOBIN="${GOBIN:-$HOME/bin}" +GREP_OPTIONS="" +GREP_COLORS="" "$GOBIN"/gomake "$GOBIN"/6g main.go && "$GOBIN"/6l main.6 diff -r 5992bf56aa72 src/quietgcc.bash --- a/src/quietgcc.bash Thu Jul 15 13:04:04 2010 +1000 +++ b/src/quietgcc.bash Fri Jul 23 16:21:37 2010 -0700 @@ -36,6 +36,8 @@ -Wno-parentheses -Wno-unknown-pragmas -Wno-switch -Wno-comment \ "$@" >$tmp 2>&1 status=$? +GREP_OPTIONS="" +GREP_COLORS="" egrep -v "$ignore" $tmp | uniq | tee $tmp.1 # Make incompatible pointer type "warnings" stop the build.