diff options
Diffstat (limited to 'util')
-rwxr-xr-x | util/clean-depend.pl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/util/clean-depend.pl b/util/clean-depend.pl index c37d98521c..d2b78282c0 100755 --- a/util/clean-depend.pl +++ b/util/clean-depend.pl @@ -17,8 +17,7 @@ while(<STDIN>) { $thisfile=$file if defined $file; next if !defined $deps; my @deps=split ' ',$deps; - @deps=grep(!/^\/usr\/include/,@deps); - @deps=grep(!/^\/usr\/lib\/gcc-lib/,@deps); + @deps=grep(!/^\//,@deps); @deps=grep(!/^\\$/,@deps); push @{$files{$thisfile}},@deps; } |