diff options
author | David Young <dyoung@hdfgroup.org> | 2019-10-03 18:26:35 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2019-12-19 21:03:40 (GMT) |
commit | 0f4960264178e720823986b794f33fb360c6b0e6 (patch) | |
tree | b6c62ab98728fcb85422ecd203ba4d51920e44dc /c++ | |
parent | 229182c7eaaf869add924c6acab92153bd106773 (diff) | |
download | hdf5-0f4960264178e720823986b794f33fb360c6b0e6.zip hdf5-0f4960264178e720823986b794f33fb360c6b0e6.tar.gz hdf5-0f4960264178e720823986b794f33fb360c6b0e6.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 'c++')
-rw-r--r-- | c++/examples/run-c++-ex.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/examples/run-c++-ex.sh.in b/c++/examples/run-c++-ex.sh.in index d975924..f0d3e93 100644 --- a/c++/examples/run-c++-ex.sh.in +++ b/c++/examples/run-c++-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@}" AR="@AR@" RANLIB="@RANLIB@" H5TOOL="h5c++" # The tool name |