diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2022-05-06 22:59:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-06 22:59:52 (GMT) |
commit | cd4d97218f75c545be14f3148f2c64fd3c60337b (patch) | |
tree | e92d760f5517d171c0689195910bfbc27d3a1786 /c++/examples/run-c++-ex.sh.in | |
parent | 8ad163381083dfc6f0384deb793ba6ad59a936c5 (diff) | |
parent | ca737ece9acd8168d9df4a08c9907a294053a883 (diff) | |
download | hdf5-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/run-c++-ex.sh.in')
-rw-r--r-- | c++/examples/run-c++-ex.sh.in | 8 |
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 ) |