Join two lines that caused awk to squak on some platforms.

llvm-svn: 33274
This commit is contained in:
Reid Spencer 2007-01-16 22:41:12 +00:00
parent d85662f67d
commit 7dac4c31a4
1 changed files with 2 additions and 2 deletions

View File

@ -32,6 +32,6 @@ BEGIN { deleting = 0; } \
/^Index: .*[.]cvs$/ { deleting = 1; fname=substr($0,7); \
print "Skipping: ", fname > "/dev/stderr"; } \
/^Index:.*/ && !/^Index: .*[.]cvs$/ { deleting = 0; } \
{ if (! deleting) { print; } } \
' > "$NAME".patch || error "sed/awk cleanup failed"
{ if (! deleting) { print; } } ' > "$NAME".patch || \
error "sed/awk cleanup failed"