diff options
Diffstat (limited to 'ltmain.sh')
-rw-r--r-- | ltmain.sh | 4 |
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 |