aboutsummaryrefslogtreecommitdiff
path: root/cfg-ml-pos.in
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1995-07-27 21:36:29 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1995-07-27 21:36:29 +0000
commite9a9d059c412f1ac4791c55ef8c080e93abe4a9e (patch)
tree7eeacdb8c6646856d7bb8459b3a48363562d6dcf /cfg-ml-pos.in
parent8e2c205b9b72f592b255e415afdb809a22e7a4b1 (diff)
downloadgdb-e9a9d059c412f1ac4791c55ef8c080e93abe4a9e.zip
gdb-e9a9d059c412f1ac4791c55ef8c080e93abe4a9e.tar.gz
gdb-e9a9d059c412f1ac4791c55ef8c080e93abe4a9e.tar.bz2
* cfg-ml-pos.in (dotdot): Work around SunOS sed bug.
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.