[llvm-commits] CVS: llvm/utils/mkpatch

Reid Spencer reid at x10sys.com
Tue Jan 16 19:38:38 PST 2007



Changes in directory llvm/utils:

mkpatch updated: 1.4 -> 1.5
---
Log message:

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!


---
Diffs of the changes:  (+1 -1)

 mkpatch |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/utils/mkpatch
diff -u llvm/utils/mkpatch:1.4 llvm/utils/mkpatch:1.5
--- llvm/utils/mkpatch:1.4	Tue Jan 16 16:41:12 2007
+++ llvm/utils/mkpatch	Tue Jan 16 21:38:22 2007
@@ -27,7 +27,7 @@
   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"; } \






More information about the llvm-commits mailing list