diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2007-01-17 03:38:22 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2007-01-17 03:38:22 +0000 |
| commit | c35fec9567d82405f4eaf1870c727ec35c538cdf (patch) | |
| tree | 2ee4d893364eee2632c05b38e314f0571ff616d8 | |
| parent | ceb8459f1d6fd32d5b8525a47cc052e9154008b4 (diff) | |
| download | bcm5719-llvm-c35fec9567d82405f4eaf1870c727ec35c538cdf.tar.gz bcm5719-llvm-c35fec9567d82405f4eaf1870c727ec35c538cdf.zip | |
Fix this tool for use on Darwin which requires the file to come after the
commands. Linux is more forgiving.
Patch by Gordon Henriksen. Thanks, Gordon!
llvm-svn: 33285
| -rwxr-xr-x | llvm/utils/mkpatch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/mkpatch b/llvm/utils/mkpatch index a800f0d73e3..415fa7870ea 100755 --- a/llvm/utils/mkpatch +++ b/llvm/utils/mkpatch @@ -27,7 +27,7 @@ cvs diff -Ntdup -5 >> "$NAME".patch.raw 2>&1 \ tools test runtime projects examples win32 Xcode echo "mkpatch: Removing cruft from the patch file" -sed "$NAME".patch.raw -e '/^[?] .*/d' -e '/^cvs diff: Diffing/d' | awk '\ +sed -e '/^[?] .*/d' -e '/^cvs diff: Diffing/d' "$NAME".patch.raw | awk '\ BEGIN { deleting = 0; } \ /^Index: .*[.]cvs$/ { deleting = 1; fname=substr($0,7); \ print "Skipping: ", fname > "/dev/stderr"; } \ |

