projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8df8709
)
Join two lines that caused awk to squak on some platforms.
author
Reid Spencer
<rspencer@reidspencer.com>
Tue, 16 Jan 2007 22:41:12 +0000
(22:41 +0000)
committer
Reid 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
patch
|
blob
|
history
diff --git
a/utils/mkpatch
b/utils/mkpatch
index ce105af25df94533ca1779ec197d8a1ddd6b2698..a800f0d73e3b6bc8d4f55e945ba818b8e9be5d95 100755
(executable)
--- 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"