Join two lines that caused awk to squak on some platforms.
[oota-llvm.git] / 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"