summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit7dac4c31a4f697dca08b4dac5baae9c529472822 (patch)
tree3b4a66dd28db250bf6fed77c556f2f9709ecd495 /llvm/utils/mkpatch
parentd85662f67de42d8024bb8579066d105f5c970d6a (diff)
downloadbcm5719-llvm-7dac4c31a4f697dca08b4dac5baae9c529472822.tar.gz
bcm5719-llvm-7dac4c31a4f697dca08b4dac5baae9c529472822.zip
Join two lines that caused awk to squak on some platforms.
llvm-svn: 33274
Diffstat (limited to 'llvm/utils/mkpatch')
-rwxr-xr-xllvm/utils/mkpatch4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/mkpatch b/llvm/utils/mkpatch
index ce105af25df..a800f0d73e3 100755
--- a/llvm/utils/mkpatch
+++ b/llvm/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"
OpenPOWER on IntegriCloud