cygprofile: increase timeouts to allow showing web contents
[chromium-blink-merge.git] / tools / git / git-utils.sh
blob608d27aa26b64d22c5300e06584e6e30ffa2f9c0
1 #!/bin/bash
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
6 TPUT=$(which tput 2>/dev/null)
7 if test -x "$TPUT" && $TPUT setaf 1 >/dev/null ; then
8 RED="$($TPUT setaf 1)"
9 NORMAL="$($TPUT op)"
10 else
11 RED=
12 NORMAL=
15 warn() {
16 echo "${RED}WARNING:${NORMAL} $@"