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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33274 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2007-01-16 22:41:12 +00:00
parent 8df87095fc
commit ea92a109ff

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"