[CentOS] patching from different directory

Filipe Brandenburger filbranden at gmail.com
Thu Sep 10 19:51:55 UTC 2009


Hi,

On Thu, Sep 10, 2009 at 14:34, nate <centos at linuxpowered.net> wrote:
> Could another option be to pipe the diff into patch via STDIN ?
>
> cat /path/to/filename.diff | patch -p0

That's exactly the same as:

$ patch -p0 </path/to/filename.diff

Filipe



More information about the CentOS mailing list