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 /hl/c++ | |
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 'hl/c++')
-rw-r--r-- | hl/c++/examples/run-hlc++-ex.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hl/c++/examples/run-hlc++-ex.sh.in b/hl/c++/examples/run-hlc++-ex.sh.in index eb688a1..9539724 100644 --- a/hl/c++/examples/run-hlc++-ex.sh.in +++ b/hl/c++/examples/run-hlc++-ex.sh.in @@ -31,7 +31,7 @@ EXIT_SUCCESS=0 EXIT_FAILURE=1 # Where the tool is installed. # default is relative path to installed location of the tools -prefix="${prefix:-../../../..}" +prefix="${prefix:-@prefix@}" AR="@AR@" RANLIB="@RANLIB@" H5TOOL="h5c++" # The tool name |