diff options
author | David Young <dyoung@hdfgroup.org> | 2019-11-12 16:34:37 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:17:26 (GMT) |
commit | 058d7a1b3cbc17f1b47ec812ec897b44dfccd258 (patch) | |
tree | 645581454a4fb4ec00b30a46cf7be2819c937e6f /c++ | |
parent | 31fd2e60c791b908fd652ced8587e2f07f88349f (diff) | |
download | hdf5-058d7a1b3cbc17f1b47ec812ec897b44dfccd258.zip hdf5-058d7a1b3cbc17f1b47ec812ec897b44dfccd258.tar.gz hdf5-058d7a1b3cbc17f1b47ec812ec897b44dfccd258.tar.bz2 |
Apparently, + has no special meaning, and neither does \+, in so-called
"obsolete" / POSIX "basic" regular expressions. Also, not every version of
`sed` out there supports the `-E` option. So delete the -E flag and use
the regex `[^/][^/]*` instead of `[^/]+`.
Add config/netbsd to the MANIFEST.
Diffstat (limited to 'c++')
-rw-r--r-- | c++/examples/run-c++-ex.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/examples/run-c++-ex.sh.in b/c++/examples/run-c++-ex.sh.in index 08e9633..03e1eac 100644 --- a/c++/examples/run-c++-ex.sh.in +++ b/c++/examples/run-c++-ex.sh.in @@ -47,7 +47,7 @@ prefix=@prefix@ examplesdir=@examplesdir@ if [ ${examplesdir##${prefix}/} != ${examplesdir} ]; then echo $(echo ${examplesdir##${prefix}/} | \ - sed -E 's,[^/]+,..,g') + sed 's,[^/][^/]*,..,g') else echo $prefix fi |