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 b5b910f..ace00b5 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+$//m; + $after =~ s/\s+$//mg; next if $after eq $before; open(my $fh, ">$f") or die; print $fh $after; |