summaryrefslogtreecommitdiffstats
path: root/c++/examples/testh5c++.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'c++/examples/testh5c++.sh.in')
-rwxr-xr-xc++/examples/testh5c++.sh.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/c++/examples/testh5c++.sh.in b/c++/examples/testh5c++.sh.in
index f6c9fd6..db6d7e2 100755
--- a/c++/examples/testh5c++.sh.in
+++ b/c++/examples/testh5c++.sh.in
@@ -25,7 +25,8 @@ EXIT_SUCCESS=0
EXIT_FAILURE=1
# Where the tool is installed.
-prefix="${prefix:-${DESTDIR}/@prefix@}"
+# Note: no '/' after DESTDIR. Explanation in commence.am
+prefix="${prefix:-${DESTDIR}@prefix@}"
AR="@AR@"
RANLIB="@RANLIB@"
H5TOOL="h5c++" # The tool name