summaryrefslogtreecommitdiff
path: root/devtools
diff options
context:
space:
mode:
Diffstat (limited to 'devtools')
-rwxr-xr-xdevtools/clean-whitespace.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/clean-whitespace.pl b/devtools/clean-whitespace.pl
index 154ce37..0c729ca 100755
--- a/devtools/clean-whitespace.pl
+++ b/devtools/clean-whitespace.pl
@@ -11,7 +11,7 @@ push(@exempted, glob("m4/*backport*m4"));
my %exempted_hash = map { $_ => 1 } @exempted;
my @stuff = split /\0/, `git ls-files -z -c -m -o --exclude-standard`;
-my @files = grep { ! $exempted_hash{$_} } @stuff;
+my @files = grep { ! $exempted_hash{$_} && $_ !~ m/^vendor\// } @stuff;
unless (@files) {
warn "ERROR: You don't seem to be running this from a git checkout\n";