summaryrefslogtreecommitdiffstats
path: root/c++/examples
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-05-06 22:59:52 (GMT)
committerGitHub <noreply@github.com>2022-05-06 22:59:52 (GMT)
commitcd4d97218f75c545be14f3148f2c64fd3c60337b (patch)
treee92d760f5517d171c0689195910bfbc27d3a1786 /c++/examples
parent8ad163381083dfc6f0384deb793ba6ad59a936c5 (diff)
parentca737ece9acd8168d9df4a08c9907a294053a883 (diff)
downloadhdf5-feature/werror-restrict.zip
hdf5-feature/werror-restrict.tar.gz
hdf5-feature/werror-restrict.tar.bz2
Merge branch 'develop' into feature/werror-restrictfeature/werror-restrict
Diffstat (limited to 'c++/examples')
-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
)