diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2007-05-30 19:48:50 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2007-05-30 19:48:50 (GMT) |
commit | e50cbb5ea71106f34ea4d9ab7041ae5f173be042 (patch) | |
tree | 7c7f56119c0d9654aa7e251696634e3cada94f3a | |
parent | 16bf0e9d3651262f33c061f0a80073bcb3aea5b6 (diff) | |
download | hdf5-e50cbb5ea71106f34ea4d9ab7041ae5f173be042.zip hdf5-e50cbb5ea71106f34ea4d9ab7041ae5f173be042.tar.gz hdf5-e50cbb5ea71106f34ea4d9ab7041ae5f173be042.tar.bz2 |
[svn-r13819] Bug fix.
The test scripts did not take in account that the binary has been installed
somewhere other than the original prefix. Added a provision to allow
explicit definition of $prefix to work.
Tested:
kagiso.
-rwxr-xr-x | c++/examples/testh5c++.sh.in | 2 | ||||
-rwxr-xr-x | examples/testh5cc.sh.in | 2 | ||||
-rwxr-xr-x | fortran/examples/testh5fc.sh.in | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/c++/examples/testh5c++.sh.in b/c++/examples/testh5c++.sh.in index 0fa7486..cfab0f0 100755 --- a/c++/examples/testh5c++.sh.in +++ b/c++/examples/testh5c++.sh.in @@ -21,7 +21,7 @@ # Initializations # Where the tool is installed. -prefix="@prefix@" +prefix="${prefix:-@prefix@}" AR=@AR@ RANLIB=@RANLIB@ H5TOOL="h5c++" # The tool name diff --git a/examples/testh5cc.sh.in b/examples/testh5cc.sh.in index 0e705f7..79fd597 100755 --- a/examples/testh5cc.sh.in +++ b/examples/testh5cc.sh.in @@ -23,7 +23,7 @@ # Initializations # Where the tool is installed. -prefix="@prefix@" +prefix="${prefix:-@prefix@}" PARALLEL=@PARALLEL@ # Am I in parallel mode? AR=@AR@ RANLIB=@RANLIB@ diff --git a/fortran/examples/testh5fc.sh.in b/fortran/examples/testh5fc.sh.in index d45d39c..5db1580 100755 --- a/fortran/examples/testh5fc.sh.in +++ b/fortran/examples/testh5fc.sh.in @@ -21,7 +21,7 @@ # Initializations # Where the tool is installed. -prefix="@prefix@" +prefix="${prefix:-@prefix@}" PARALLEL=@PARALLEL@ # Am I in parallel mode? AR=@AR@ RANLIB=@RANLIB@ |