diff options
author | David Young <dyoung@hdfgroup.org> | 2019-10-03 18:26:35 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2019-10-03 21:01:40 (GMT) |
commit | 7bb8d071c6b4b6fecc84eda4982cab6b86f9ff04 (patch) | |
tree | 54b9a00d4b92e73fb0cf496f8b63d179e2bbdc5c /fortran | |
parent | 6083b740ad585610300bb60e1456ab33d636ac6f (diff) | |
download | hdf5-7bb8d071c6b4b6fecc84eda4982cab6b86f9ff04.zip hdf5-7bb8d071c6b4b6fecc84eda4982cab6b86f9ff04.tar.gz hdf5-7bb8d071c6b4b6fecc84eda4982cab6b86f9ff04.tar.bz2 |
Under the examples directories, always find the installed HDF5
executables and scripts using @prefix@ instead of a relative
path, because the number of ../ in the relative path will be
different on NetBSD than on other systems.
Examples on NetBSD are installed at ${prefix}/share/examples/hdf5/
instead of at ${prefix}/share/hdf5_examples/, by convention. It may be
the same on other BSDs, I'm not sure.
Diffstat (limited to 'fortran')
-rw-r--r-- | fortran/examples/run-fortran-ex.sh.in | 2 |
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 aa17f89..ad14368 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@" |