diff options
author | David Young <dyoung@hdfgroup.org> | 2019-11-12 16:34:37 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2019-12-19 21:03:41 (GMT) |
commit | f2be0c5b547f24c07b01ae8ff025ae8eba51368b (patch) | |
tree | 165e731f5a700c8c52c2e98c7f9401f591eb150c /hl/examples | |
parent | 13553fa2614a68574419c29ae97d58792e8b1211 (diff) | |
download | hdf5-f2be0c5b547f24c07b01ae8ff025ae8eba51368b.zip hdf5-f2be0c5b547f24c07b01ae8ff025ae8eba51368b.tar.gz hdf5-f2be0c5b547f24c07b01ae8ff025ae8eba51368b.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 'hl/examples')
-rw-r--r-- | hl/examples/run-hlc-ex.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hl/examples/run-hlc-ex.sh.in b/hl/examples/run-hlc-ex.sh.in index ceb77dd..e6d0cc9 100644 --- a/hl/examples/run-hlc-ex.sh.in +++ b/hl/examples/run-hlc-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 |