Wednesday, 22 February 2017

19. How to apply a patch?


patch < ~/patches/vec_xl_xst.diff
If the patch cannot be applied automatically, then paste the file name to apply patch to each file.

You need to specify -p1 to apply the patch without asking you to confirm ( sometimes you need p0,
depending on where you create and apply the patch)
patch -t -p1 < ~/patches/expand.comparison

No comments:

Post a Comment