summaryrefslogtreecommitdiffstats
path: root/fortran/examples
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2018-08-23 12:37:00 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2018-08-23 15:50:23 (GMT)
commit4393a79e966a946cd7682e4177cbfeacf68e4a92 (patch)
tree501a49d00cf6d62d7d8c3820285dd76c8f5de279 /fortran/examples
parented16ca44b5d281369e0f8a7890099896605ff64d (diff)
downloadhdf5-4393a79e966a946cd7682e4177cbfeacf68e4a92.zip
hdf5-4393a79e966a946cd7682e4177cbfeacf68e4a92.tar.gz
hdf5-4393a79e966a946cd7682e4177cbfeacf68e4a92.tar.bz2
Change prefix in example scripts to relative path to bin. This was done
for 1.8, and works wherever installed without the need to replace the original prefix.
Diffstat (limited to 'fortran/examples')
-rw-r--r--fortran/examples/run-fortran-ex.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/fortran/examples/run-fortran-ex.sh.in b/fortran/examples/run-fortran-ex.sh.in
index cace1ae..da0c357 100644
--- a/fortran/examples/run-fortran-ex.sh.in
+++ b/fortran/examples/run-fortran-ex.sh.in
@@ -32,7 +32,7 @@ EXIT_FAILURE=1
# Where the tool is installed.
# default is relative path to installed location of the tools
-prefix="${prefix:-@prefix@}"
+prefix="${prefix:-../../..}"
PARALLEL=@PARALLEL@ # Am I in parallel mode?
AR="@AR@"
RANLIB="@RANLIB@"