aboutsummaryrefslogtreecommitdiff
path: root/utils/mkpatch
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-16 22:41:12 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-16 22:41:12 +0000
commitea92a109ffa6559824a24b01e26c0bedfd10d82a (patch)
tree3fdd5ee23bd1b05188cc464c9084bbc92ff478af /utils/mkpatch
parent8df87095fc33af80e12fb883a6ccf8463518b8e2 (diff)
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
Diffstat (limited to 'utils/mkpatch')
-rwxr-xr-xutils/mkpatch4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/mkpatch b/utils/mkpatch
index ce105af25d..a800f0d73e 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"