mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-02 08:26:29 +00:00
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
This commit is contained in:
parent
0ef35f9e8f
commit
ad67732a72
@ -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"; } \
|
||||
|
Loading…
Reference in New Issue
Block a user