summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2019-11-12 16:34:37 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2019-11-12 16:43:26 (GMT)
commitf1b39ad80e2fc0d0f4f6ecae2a9fb0ea436c34cc (patch)
tree6395433597ab8e374f780072d643f6a57ec581f8 /examples
parent9fd1143ffde30ef0dd61368667ea0ce85b280cd4 (diff)
downloadhdf5-f1b39ad80e2fc0d0f4f6ecae2a9fb0ea436c34cc.zip
hdf5-f1b39ad80e2fc0d0f4f6ecae2a9fb0ea436c34cc.tar.gz
hdf5-f1b39ad80e2fc0d0f4f6ecae2a9fb0ea436c34cc.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 'examples')
-rw-r--r--examples/run-c-ex.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/run-c-ex.sh.in b/examples/run-c-ex.sh.in
index b561617..90d5c6a 100644
--- a/examples/run-c-ex.sh.in
+++ b/examples/run-c-ex.sh.in
@@ -46,7 +46,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