summaryrefslogtreecommitdiffstats
path: root/c++/examples/run-c++-ex.sh.in
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-05-06 18:06:52 (GMT)
committerGitHub <noreply@github.com>2022-05-06 18:06:52 (GMT)
commit1b413fe61aa11de314f0b4f85461a88691c15069 (patch)
tree59aab400f8787fde243a96570f7bee5960c5ce92 /c++/examples/run-c++-ex.sh.in
parent13985a7f529a3628fe215478f9d77f0d5b9b0fd1 (diff)
downloadhdf5-1b413fe61aa11de314f0b4f85461a88691c15069.zip
hdf5-1b413fe61aa11de314f0b4f85461a88691c15069.tar.gz
hdf5-1b413fe61aa11de314f0b4f85461a88691c15069.tar.bz2
Minor things noticed while merging to 1.10 (#1739)
* Minor things noticed while merging to 1.10 * Set HDF5_DRIVER back in string
Diffstat (limited to 'c++/examples/run-c++-ex.sh.in')
-rw-r--r--c++/examples/run-c++-ex.sh.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/c++/examples/run-c++-ex.sh.in b/c++/examples/run-c++-ex.sh.in
index a593d6c..4593779 100644
--- a/c++/examples/run-c++-ex.sh.in
+++ b/c++/examples/run-c++-ex.sh.in
@@ -40,16 +40,16 @@ EXIT_FAILURE=1
# This script uses the value of `prefix` in the user's environment, if
# it is set, below. The content of $() is evaluated in a sub-shell, so
# if `prefix` is set in the user's environment, the shell statements in
-# $() won't clobbered it.
+# $() won't clobber it.
#
prefix_relto_examplesdir=$(
prefix=@prefix@
examplesdir=@examplesdir@
if [ ${examplesdir##${prefix}/} != ${examplesdir} ]; then
- echo $(echo ${examplesdir##${prefix}/} | \
- sed 's,[^/][^/]*,..,g')
+ echo $(echo ${examplesdir##${prefix}/} | \
+ sed 's,[^/][^/]*,..,g')
else
- echo $prefix
+ echo $prefix
fi
)