Wednesday, August 18, 2010

create a patch

[Create]
mv xxx xxx-new
tar zxvf xxx.tar.gz
diff -urN xxx/123.c xxx-new/123.c > 123.patch


[Apply]
patch -p1 < 123.patch

No comments:

Related Posts Plugin for WordPress, Blogger...