diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-29 14:38:09 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-29 14:38:09 +0000 |
commit | 49da58ecfe273d54754bc5c3a8841655b09955b9 (patch) | |
tree | c99d4720e7e34d25d8b585c67891945f5c0d1ed2 /tools | |
parent | 8f722371b0c5ac3c1d0fb456da40ffb12745500d (diff) | |
download | chromium_src-49da58ecfe273d54754bc5c3a8841655b09955b9.zip chromium_src-49da58ecfe273d54754bc5c3a8841655b09955b9.tar.gz chromium_src-49da58ecfe273d54754bc5c3a8841655b09955b9.tar.bz2 |
Discard error message from which if tput is not found.
BUG=none
TEST=run on cygwin
Review URL: http://codereview.chromium.org/1553001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42944 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r-- | tools/git/git-utils.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/git/git-utils.sh b/tools/git/git-utils.sh index d89dc5d..6f347cb 100644 --- a/tools/git/git-utils.sh +++ b/tools/git/git-utils.sh @@ -3,7 +3,7 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -TPUT=$(which tput) +TPUT=$(which tput 2>/dev/null) if test -x "$TPUT" && $TPUT setaf 1 >/dev/null ; then RED="$($TPUT setaf 1)" NORMAL="$($TPUT op)" |