Patching
Rabu, 17 Februari 2010, 3:03 am0
Better reference: http://www.thegeekstuff.com/2014/12/patch-command-examples/
yum install patch
To create patch:
diff -crB OriginalFolder ModifiedFolder > folder.patch
-c: context
-r: recursive (multiple level dir)
-B: ignore blank lines
To apply patch:
(dry run first, at target folder – to check for any error)
patch --dry-run -p1 -i folder.patch
If dry run success, do real patching:
patch -p1 -i folder.patch
![munky-patch](https://azwan082.my/wp-content/uploads/2013/09/munky-patch.png)
Monkey patch
17 Februari 2010
16 Februari 2010