From: Reid Spencer Date: Tue, 16 Jan 2007 22:41:12 +0000 (+0000) Subject: Join two lines that caused awk to squak on some platforms. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=ea92a109ffa6559824a24b01e26c0bedfd10d82a;p=oota-llvm.git 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 --- diff --git a/utils/mkpatch b/utils/mkpatch index ce105af25df..a800f0d73e3 100755 --- a/utils/mkpatch +++ b/utils/mkpatch @@ -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"