Skip to content

Commit

Permalink
Update tools/git/update-copyrights.sh with the current year.
Browse files Browse the repository at this point in the history
BUG=none
TEST=none

Review URL: http://codereview.chromium.org/9148027

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117237 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
thakis@chromium.org committed Jan 11, 2012
1 parent dd675d8 commit af5c6ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/git/update-copyrights.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

Expand All @@ -9,7 +9,7 @@ git diff --name-only $(git cl upstream)... | while read file; do
cp "$file" "$tmp"
# Rather than editing the temporary file, edit the original file in-place
# so that we preserve file modes.
sed -i -e '1,4s/Copyright .c. .* The Chromium Authors/Copyright (c) 2011 The Chromium Authors/' "$file"
sed -i -e '1,4s/Copyright .c. .* The Chromium Authors/Copyright (c) 2012 The Chromium Authors/' "$file"
if ! diff -q "$file" "$tmp" > /dev/null; then
echo "updated $file"
fi
Expand Down

0 comments on commit af5c6ad

Please sign in to comment.