diff options
author | Jim Meyering <jim@meyering.net> | 1999-02-07 13:41:27 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-02-07 13:41:27 +0000 |
commit | 9e0faa6d1813e2a0a7f060f4a6ddfabb4207e052 (patch) | |
tree | 7e9e094756b6a9d5e0f91241037f3860013df1be /m4 | |
parent | 7e74cfab42b557492591d61beae3758620857d5b (diff) | |
download | coreutils-9e0faa6d1813e2a0a7f060f4a6ddfabb4207e052.tar.xz |
Support DOS-style d:/foo/bar absolute file names.
From Eli Zaretskii.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/gettext.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/gettext.m4 b/m4/gettext.m4 index 3ecb20348..a12bdbf08 100644 --- a/m4/gettext.m4 +++ b/m4/gettext.m4 @@ -314,7 +314,7 @@ strdup __argz_count __argz_stringify __argz_next]) dnl be included in po/Makefile. test -d po || mkdir po if test "x$srcdir" != "x."; then - if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then + if test "x`echo $srcdir | sed -e 's@^[A-z]:@@' -e 's@/.*@@'`" = "x"; then posrcprefix="$srcdir/" else posrcprefix="../$srcdir/" |