diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-04-28 18:39:41 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-04-28 18:39:41 (GMT) |
commit | ebb263afa653599c4ef85d028af6a97fe287686c (patch) | |
tree | 75f73fb6aa83fec29f949ca0b920a9fd3469bb39 /bin | |
parent | 7da63ba3c2362f599302aaf5281166e57a0b3c40 (diff) | |
download | hdf5-ebb263afa653599c4ef85d028af6a97fe287686c.zip hdf5-ebb263afa653599c4ef85d028af6a97fe287686c.tar.gz hdf5-ebb263afa653599c4ef85d028af6a97fe287686c.tar.bz2 |
[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:
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/dependencies | 2 |
1 files changed, 1 insertions, 1 deletions
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 (<DEPEND>) { - 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; |