From: Richard Levitte Date: Fri, 16 Mar 2001 09:46:09 +0000 (+0000) Subject: From revision 1.6, 2001-03-08 13:27 bodo: X-Git-Tag: OpenSSL_0_9_6a-beta2~10 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cfb8afc558d9603ff85dcadcb8ebbe13e316cf66;p=oweals%2Fopenssl.git From revision 1.6, 2001-03-08 13:27 bodo: 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 af676af751..0193e726fe 100755 --- a/util/clean-depend.pl +++ b/util/clean-depend.pl @@ -15,8 +15,8 @@ while() { my ($file,$deps)=/^(.*): (.*)$/; 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{$file}},@deps; }