aboutsummaryrefslogtreecommitdiff
path: root/cfg-ml-pos.in
diff options
context:
space:
mode:
Diffstat (limited to 'cfg-ml-pos.in')
-rw-r--r--cfg-ml-pos.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/cfg-ml-pos.in b/cfg-ml-pos.in
index b45c3d8..b66bb07 100644
--- a/cfg-ml-pos.in
+++ b/cfg-ml-pos.in
@@ -12,7 +12,7 @@ if [ -z "${with_multisubdir}" ]; then
multisubdir=
else
multisubdir="/${with_multisubdir}"
- dotdot=`echo ${with_multisubdir} | sed -e 's:[^/]*:..:g'`
+ dotdot=`echo ${with_multisubdir} | sed -e 's:[^/][^/]*:..:g'`
# TOP is used by newlib and should not be used elsewhere for this purpose.
# MULTITOP is the proper one to use.
# FIXME: newlib needs to be updated to use MULTITOP so we can delete TOP.