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 /examples | |
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 'examples')
-rw-r--r-- | examples/run-c-ex.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/run-c-ex.sh.in b/examples/run-c-ex.sh.in index a70117f..83c7581 100644 --- a/examples/run-c-ex.sh.in +++ b/examples/run-c-ex.sh.in @@ -31,7 +31,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@" |