From: Bodo Möller Date: Thu, 8 Mar 2001 12:27:44 +0000 (+0000) Subject: Throw out *all* absolute pathnames, not matter what they look like. X-Git-Tag: OpenSSL_0_9_6a-beta2~17^2~60 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3b4cfea688be0bbe3270848f9640aef78028caab;p=oweals%2Fopenssl.git Throw out *all* absolute pathnames, not matter what they look like. The filenames we are interested in for Makefile dependencies are always relative. --- 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() { $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; }