Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(329)

Side by Side Diff: tools/git/git-utils.sh

Issue 10134019: Set svn:executable bit on scripts that are executable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed pylintrc Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/checkperms/PRESUBMIT.py ('k') | tools/heapcheck/heapcheck_std.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Copyright (c) 2010 The Chromium Authors. All rights reserved. 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 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 TPUT=$(which tput 2>/dev/null) 6 TPUT=$(which tput 2>/dev/null)
7 if test -x "$TPUT" && $TPUT setaf 1 >/dev/null ; then 7 if test -x "$TPUT" && $TPUT setaf 1 >/dev/null ; then
8 RED="$($TPUT setaf 1)" 8 RED="$($TPUT setaf 1)"
9 NORMAL="$($TPUT op)" 9 NORMAL="$($TPUT op)"
10 else 10 else
11 RED= 11 RED=
12 NORMAL= 12 NORMAL=
13 fi 13 fi
14 14
15 warn() { 15 warn() {
16 echo "${RED}WARNING:${NORMAL} $@" 16 echo "${RED}WARNING:${NORMAL} $@"
17 } 17 }
OLDNEW
« no previous file with comments | « tools/checkperms/PRESUBMIT.py ('k') | tools/heapcheck/heapcheck_std.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698