summaryrefslogtreecommitdiff
path: root/ltmain.sh
diff options
context:
space:
mode:
authordavek <davek@138bc75d-0d04-0410-961f-82ee72b054a4>2009-08-26 14:52:45 +0000
committerdavek <davek@138bc75d-0d04-0410-961f-82ee72b054a4>2009-08-26 14:52:45 +0000
commit7baff5bd414eadc16381299fd5b92e422d3704d2 (patch)
treecc5f3cd3039d161f8e2493d9fe94d1a75220c78b /ltmain.sh
parenta8cefe905b366aaa6b6af15a9f7124153ed18cf3 (diff)
downloadgcc-7baff5bd414eadc16381299fd5b92e422d3704d2.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151124 138bc75d-0d04-0410-961f-82ee72b054a4
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