1
1

Don't bother checking new directories themselves for copyright tokens

(i.e., only look in the files *in* new directories -- not the
directories themselves).

This commit was SVN r26282.
Этот коммит содержится в:
Jeff Squyres 2012-04-18 14:52:41 +00:00
родитель eebc0177f9
Коммит 164eec380c

Просмотреть файл

@ -1,6 +1,6 @@
#!/usr/bin/env perl
#
# Copyright (c) 2010-2010 Cisco Systems, Inc. All rights reserved.
# Copyright (c) 2010-2012 Cisco Systems, Inc. All rights reserved.
# $COPYRIGHT$
#
@ -102,7 +102,9 @@ while (<CMD>) {
my $filename = $tokens[1];
$filename = $tokens[2]
if ($tokens[1] =~ /\+/);
push(@files, $filename);
# Don't bother saving directory names
push(@files, $filename)
if (-f $filename);
}
}
close(CMD);