summaryrefslogtreecommitdiffstats
path: root/hl/examples/run-hlc-ex.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'hl/examples/run-hlc-ex.sh.in')
-rw-r--r--hl/examples/run-hlc-ex.sh.in2
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