From: David Edelsohn Date: Thu, 27 Jul 1995 21:36:29 +0000 (+0000) Subject: * cfg-ml-pos.in (dotdot): Work around SunOS sed bug. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e9a9d059c412f1ac4791c55ef8c080e93abe4a9e;p=binutils-gdb.git * cfg-ml-pos.in (dotdot): Work around SunOS sed bug. --- diff --git a/ChangeLog b/ChangeLog index 66c49ce7551..c380a342a5c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu Jul 27 14:33:33 1995 Doug Evans + + * cfg-ml-pos.in (dotdot): Work around SunOS sed bug. + Thu Jul 27 13:31:05 1995 Fred Fish (fnf@cygnus.com) * config.guess (*:Linux:*:*): First try asking the linker what the diff --git a/cfg-ml-pos.in b/cfg-ml-pos.in index b45c3d8a1ad..b66bb0799ae 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.