summaryrefslogtreecommitdiffstats
path: root/c++/examples/run-c++-ex.sh.in
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2011-05-04 16:41:19 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2011-05-04 16:41:19 (GMT)
commitbe60cc1759b1b0907dd23962359077e1d54596c1 (patch)
tree47c6434305a0c3eb953b8dc3a89b1a6e15119a84 /c++/examples/run-c++-ex.sh.in
parentc847e38551cdd190d9e91158ecf01270003375a2 (diff)
downloadhdf5-be60cc1759b1b0907dd23962359077e1d54596c1.zip
hdf5-be60cc1759b1b0907dd23962359077e1d54596c1.tar.gz
hdf5-be60cc1759b1b0907dd23962359077e1d54596c1.tar.bz2
[svn-r20719] Merge changes to scripts to run installed examples from hdf5 1.8.7 r 20718. The default prefix in the scripts will use the compile scripts in the installed bin directory.
Diffstat (limited to 'c++/examples/run-c++-ex.sh.in')
-rwxr-xr-xc++/examples/run-c++-ex.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/c++/examples/run-c++-ex.sh.in b/c++/examples/run-c++-ex.sh.in
index 21db584..6b33577 100755
--- a/c++/examples/run-c++-ex.sh.in
+++ b/c++/examples/run-c++-ex.sh.in
@@ -33,8 +33,8 @@ EXIT_SUCCESS=0
EXIT_FAILURE=1
# Where the tool is installed.
-# Note: no '/' after DESTDIR. Explanation in commence.am
-prefix="${prefix:-${DESTDIR}@prefix@}"
+# default is relative path to installed location of the tools
+prefix="${prefix:-../../../}"
AR="@AR@"
RANLIB="@RANLIB@"
H5TOOL="h5c++" # The tool name