summaryrefslogtreecommitdiff
path: root/ltmain.sh
diff options
context:
space:
mode:
authorDave Korn <dave.korn.cygwin@gmail.com>2009-08-26 14:52:45 +0000
committerDave Korn <davek@gcc.gnu.org>2009-08-26 14:52:45 +0000
commit68ccd57c8c3c04c56136779c4287d33afb1ccd1b (patch)
treecc5f3cd3039d161f8e2493d9fe94d1a75220c78b /ltmain.sh
parent6b8b9e4262617040a6879600a8e411f95ec30b1b (diff)
ltmain.sh (removedotparts): Don't use comma as 's' separator.
ChangeLog: * ltmain.sh (removedotparts): Don't use comma as 's' separator. (collapseslashes): Likewise. libjava/classpath/ChangeLog: * ltmain.sh (removedotparts): Don't use comma as 's' separator. (collapseslashes): Likewise. From-SVN: r151124
Diffstat (limited to 'ltmain.sh')
-rw-r--r--ltmain.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltmain.sh b/ltmain.sh
index b01cb29a683..2d341c92aec 100644
--- a/ltmain.sh
+++ b/ltmain.sh
@@ -173,8 +173,8 @@ func_dirname_and_basename ()
# These SED scripts presuppose an absolute path with a trailing slash.
pathcar="s,^/\([^/]*\).*$,\1,"
pathcdr="s,^/[^/]*,,"
-removedotparts="s,/\(\./\)\{1\,\},/,g;s,/\.$,/,"
-collapseslashes="s,/\{1\,\},/,g"
+removedotparts="s@/\(\./\)\{1,\}@/@g;s,/\.$,/,"
+collapseslashes="s@/\{1,\}@/@g"
finalslash="s,/*$,/,"
# func_normal_abspath PATH