summaryrefslogtreecommitdiffstats
path: root/fortran/examples
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2007-05-30 19:25:08 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2007-05-30 19:25:08 (GMT)
commit6a85acac67cb494c79b55fafd7ee51c655faebbd (patch)
tree4e3a87f121017aecbb587ee1ead87bf4bcc835be /fortran/examples
parent8895fdc8ad806b282a4ffbfb83554d47719e03e4 (diff)
downloadhdf5-6a85acac67cb494c79b55fafd7ee51c655faebbd.zip
hdf5-6a85acac67cb494c79b55fafd7ee51c655faebbd.tar.gz
hdf5-6a85acac67cb494c79b55fafd7ee51c655faebbd.tar.bz2
[svn-r13818] 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.
Diffstat (limited to 'fortran/examples')
-rwxr-xr-xfortran/examples/testh5fc.sh.in2
1 files changed, 1 insertions, 1 deletions
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@