From ebb263afa653599c4ef85d028af6a97fe287686c Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Mon, 28 Apr 2003 13:39:41 -0500 Subject: [svn-r6765] Purpose: Bug Fix Description: If there was a header file with a path like: /some/path/mpich.optimized/... The dependencies script would change that to /some/path/mpich.loptimized/... ^--Note. Solution: Mike McKay offered the solution to replace the substitution script from "s/\.o/\.lo/g" to "s/\.o(\b)/\.lo$1/g". It doesn't crash when run on Linux, but we need to make sure that it's okay for his machine. Platforms tested: Linux, since this script is only run on GNU platforms. Misc. update: --- bin/dependencies | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/dependencies b/bin/dependencies index fa1f65a..0575b45 100755 --- a/bin/dependencies +++ b/bin/dependencies @@ -39,7 +39,7 @@ open(DEPEND, "<$depend_file") || die "cannot open file $depend_file: $!\n"; open(NEW, ">$new_depend_file") || die "cannot open file $new_depend_file: $!\n"; while () { - s/\.o/\.lo/g; + s/\.o(\b)/\.lo$1/g; s/ $srcdir/ \$\(srcdir\)/g; s/ $top_srcdir/ \$\(top_srcdir\)/g; s/ $top_builddir/ \$\(top_builddir\)/g; -- cgit v0.12