diff options
author | Jean Delvare <jdelvare@suse.de> | 2012-12-18 18:14:42 +0100 |
---|---|---|
committer | Jean Delvare <jdelvare@suse.de> | 2012-12-18 18:14:42 +0100 |
commit | 4f18cf994529a6a9192f93e4d436d1379bbc738a (patch) | |
tree | 6d1616816f902870dac37679c8db70ae1af1d777 | |
parent | 49e8fa41c5dfd8d75fe253a0add70d4a6f90fc6e (diff) | |
download | quilt-4f18cf994529a6a9192f93e4d436d1379bbc738a.tar.gz |
remove-trailing-ws: Sort output
Sort the output of remove-trailing-ws for predictable output. This is
needed to include remove-trailing-ws in the test suite.
-rw-r--r-- | quilt/scripts/remove-trailing-ws.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quilt/scripts/remove-trailing-ws.in b/quilt/scripts/remove-trailing-ws.in index 8179a9a..c6c2194 100644 --- a/quilt/scripts/remove-trailing-ws.in +++ b/quilt/scripts/remove-trailing-ws.in @@ -106,7 +106,7 @@ while (<>) { } } -foreach my $file (keys %files) { +foreach my $file (sort keys %files) { my @lines = @{$files{$file}}; if ($opt_n) { print STDERR sprintf( |