~ubuntu-branches/ubuntu/utopic/coreutils/utopic-proposed

« back to all changes in this revision

Viewing changes to build-aux/update-copyright

  • Committer: Colin Watson
  • Date: 2013-10-30 15:48:33 UTC
  • mfrom: (8.3.5 sid)
  • Revision ID: cjwatson@canonical.com-20131030154833-xdt6e1yfffqom1c4
merge from Debian 8.21-1

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
    if 0;
4
4
# Update an FSF copyright year list to include the current year.
5
5
 
6
 
my $VERSION = '2012-02-05.21:39'; # UTC
 
6
my $VERSION = '2013-01-03.09:41'; # UTC
7
7
 
8
 
# Copyright (C) 2009-2012 Free Software Foundation, Inc.
 
8
# Copyright (C) 2009-2013 Free Software Foundation, Inc.
9
9
#
10
10
# This program is free software: you can redistribute it and/or modify
11
11
# it under the terms of the GNU General Public License as published by
192
192
    if ($final_year != $this_year)
193
193
      {
194
194
        # Update the year.
195
 
        $stmt =~ s/$final_year_orig/$final_year, $this_year/;
 
195
        $stmt =~ s/\b$final_year_orig\b/$final_year, $this_year/;
196
196
      }
197
197
    if ($final_year != $this_year || $ENV{'UPDATE_COPYRIGHT_FORCE'})
198
198
      {