From 67c90606ee65b0e4606a4a76ace2f56d618220f6 Mon Sep 17 00:00:00 2001 From: dormando Date: Sun, 29 Jul 2012 22:21:05 -0700 Subject: whitespace fix for freebsd I dunno why it litters .orgs then tries to run them. I'm not a magician. --- devtools/clean-whitespace.pl | 2 +- t/whitespace.t | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/devtools/clean-whitespace.pl b/devtools/clean-whitespace.pl index 95481ef..fe05806 100755 --- a/devtools/clean-whitespace.pl +++ b/devtools/clean-whitespace.pl @@ -3,7 +3,7 @@ use strict; use FindBin qw($Bin); chdir "$Bin/.." or die; -my @exempted = qw(Makefile.am ChangeLog doc/Makefile.am); +my @exempted = qw(Makefile.am ChangeLog doc/Makefile.am README README.md); push(@exempted, glob("doc/*.xml")); push(@exempted, glob("doc/xml2rfc/*.xsl")); push(@exempted, glob("m4/*backport*m4")); diff --git a/t/whitespace.t b/t/whitespace.t index 50b5ae6..7d5d916 100755 --- a/t/whitespace.t +++ b/t/whitespace.t @@ -10,6 +10,7 @@ BEGIN { push(@exempted, glob("doc/*.xml")); push(@exempted, glob("doc/xml2rfc/*.xsl")); push(@exempted, glob("m4/*backport*m4")); + push(@exempted, glob("*.orig")); my %exempted_hash = map { $_ => 1 } @exempted; my @stuff = split /\0/, `git ls-files -z -c -m -o --exclude-standard`; -- cgit v1.2.1