summaryrefslogtreecommitdiff
path: root/lib/depcomp
diff options
context:
space:
mode:
authorPeter Rosin <peda@lysator.liu.se>2012-02-03 08:54:49 +0100
committerPeter Rosin <peda@lysator.liu.se>2012-02-08 14:40:48 +0100
commit81193035cee80eab1dca5d34d2a8f5f011bc4f57 (patch)
tree82910657254fe840f26382124df979e9b10dcf71 /lib/depcomp
parent1e2ced5c2e6a6be7c45349dc728ba2012eb6aa0a (diff)
downloadautomake-81193035cee80eab1dca5d34d2a8f5f011bc4f57.tar.gz
depcomp: recognize tabs as whitespace in the dashmstdout mode
Commit Release-1-7-2b-2-gf03ceab "Cope with DOS filenames in dependencies." inadvertedly converted tabs into spaces. * lib/depcomp (dashmstdout): Add a tab character to all sets matching whitespace.
Diffstat (limited to 'lib/depcomp')
-rwxr-xr-xlib/depcomp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/depcomp b/lib/depcomp
index ff4e08f4a..606d09cbb 100755
--- a/lib/depcomp
+++ b/lib/depcomp
@@ -1,10 +1,10 @@
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
-scriptversion=2011-12-04.11; # UTC
+scriptversion=2012-02-03.07; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
-# 2011 Free Software Foundation, Inc.
+# 2011, 2012 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -502,7 +502,7 @@ dashmstdout)
# in the target name. This is to cope with DOS-style filenames:
# a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise.
"$@" $dashmflag |
- sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
+ sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
rm -f "$depfile"
cat < "$tmpdepfile" > "$depfile"
tr ' ' '