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.
Этот коммит содержится в:
родитель
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);
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user