Join two lines that caused awk to squak on some platforms.
authorReid Spencer <rspencer@reidspencer.com>
Tue, 16 Jan 2007 22:41:12 +0000 (22:41 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 16 Jan 2007 22:41:12 +0000 (22:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33274 91177308-0d34-0410-b5e6-96231b3b80d8

utils/mkpatch

index ce105af25df94533ca1779ec197d8a1ddd6b2698..a800f0d73e3b6bc8d4f55e945ba818b8e9be5d95 100755 (executable)
@@ -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"