summaryrefslogtreecommitdiffstats
path: root/hl/c++/examples/run-hlc++-ex.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'hl/c++/examples/run-hlc++-ex.sh.in')
-rwxr-xr-xhl/c++/examples/run-hlc++-ex.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/hl/c++/examples/run-hlc++-ex.sh.in b/hl/c++/examples/run-hlc++-ex.sh.in
index 4e6b1fb..d43606e 100755
--- a/hl/c++/examples/run-hlc++-ex.sh.in
+++ b/hl/c++/examples/run-hlc++-ex.sh.in
@@ -31,9 +31,9 @@
# Initializations
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