summaryrefslogtreecommitdiffstats
path: root/third_party/devscripts
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2015-01-22 09:50:48 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-22 17:51:35 +0000
commit815b3509630253bab262c15568a4b6bff24cd7af (patch)
treef55e412aa4a323a5a128ee7ab6bf5a3b5562e792 /third_party/devscripts
parent703a20438499a1fcebbdf29914295ca533055cfe (diff)
downloadchromium_src-815b3509630253bab262c15568a4b6bff24cd7af.zip
chromium_src-815b3509630253bab262c15568a4b6bff24cd7af.tar.gz
chromium_src-815b3509630253bab262c15568a4b6bff24cd7af.tar.bz2
Fix the licensecheck script to prune .git* instead of *.git*.
BUG=444282 Review URL: https://codereview.chromium.org/867443002 Cr-Commit-Position: refs/heads/master@{#312637}
Diffstat (limited to 'third_party/devscripts')
-rwxr-xr-xthird_party/devscripts/licensecheck.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/devscripts/licensecheck.pl b/third_party/devscripts/licensecheck.pl
index a7c4db5..39f7d54 100755
--- a/third_party/devscripts/licensecheck.pl
+++ b/third_party/devscripts/licensecheck.pl
@@ -257,8 +257,8 @@ my $files_count = @ARGV;
push @find_args, qw(-not ( -path */LayoutTests/* -prune ) );
push @find_args, qw(-not ( -path */out/Debug/* -prune ) );
push @find_args, qw(-not ( -path */out/Release/* -prune ) );
-push @find_args, qw(-not ( -path *.git* -prune ) );
-push @find_args, qw(-not ( -path *.svn* -prune ) );
+push @find_args, qw(-not ( -path .git* -prune ) );
+push @find_args, qw(-not ( -path .svn* -prune ) );
push @find_args, qw(-maxdepth 1) unless $opt_recursive;
push @find_args, qw(-follow -type f -print);