diff options
Diffstat (limited to 'devtools')
-rwxr-xr-x | devtools/clean-whitespace.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/clean-whitespace.pl b/devtools/clean-whitespace.pl index bbde48e..41ee0d8 100755 --- a/devtools/clean-whitespace.pl +++ b/devtools/clean-whitespace.pl @@ -9,7 +9,7 @@ foreach my $f (@files) { close ($fh); my $after = $before; $after =~ s/\t/ /g; - $after =~ s/\s+$//mg; + $after =~ s/ +$//mg; $after .= "\n" unless $after =~ /\n$/; next if $after eq $before; open(my $fh, ">$f") or die; |