llvm.org GIT mirror llvm / 2c13f66
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! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33285 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Spencer 13 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
2626 tools test runtime projects examples win32 Xcode
2727
2828 echo "mkpatch: Removing cruft from the patch file"
29 sed "$NAME".patch.raw -e '/^[?] .*/d' -e '/^cvs diff: Diffing/d' | awk '\
29 sed -e '/^[?] .*/d' -e '/^cvs diff: Diffing/d' "$NAME".patch.raw | awk '\
3030 BEGIN { deleting = 0; } \
3131 /^Index: .*[.]cvs$/ { deleting = 1; fname=substr($0,7); \
3232 print "Skipping: ", fname > "/dev/stderr"; } \