diff options
Diffstat (limited to 'src/lib/libcrypto/util/clean-depend.pl')
| -rw-r--r-- | src/lib/libcrypto/util/clean-depend.pl | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/libcrypto/util/clean-depend.pl b/src/lib/libcrypto/util/clean-depend.pl index 2b2bdb4048..6c485d1e2f 100644 --- a/src/lib/libcrypto/util/clean-depend.pl +++ b/src/lib/libcrypto/util/clean-depend.pl | |||
| @@ -37,11 +37,8 @@ foreach $file (sort keys %files) { | |||
| 37 | $file=~s/^\.\///; | 37 | $file=~s/^\.\///; |
| 38 | push @{$files{$file}},$origfile; | 38 | push @{$files{$file}},$origfile; |
| 39 | my $prevdep=""; | 39 | my $prevdep=""; |
| 40 | 40 | foreach $dep (sort @{$files{$file}}) { | |
| 41 | # Remove leading ./ before sorting | 41 | $dep=~s/^\.\///; |
| 42 | my @deps = map { $_ =~ s/^\.\///; $_ } @{$files{$file}}; | ||
| 43 | |||
| 44 | foreach $dep (sort @deps) { | ||
| 45 | next if $prevdep eq $dep; # to exterminate duplicates... | 42 | next if $prevdep eq $dep; # to exterminate duplicates... |
| 46 | $prevdep = $dep; | 43 | $prevdep = $dep; |
| 47 | $len=0 if $len+length($dep)+1 >= 80; | 44 | $len=0 if $len+length($dep)+1 >= 80; |
