[CentOS] patching from different directory
nate
centos at linuxpowered.netThu Sep 10 18:34:53 UTC 2009
- Previous message: [CentOS] patching from different directory
- Next message: [CentOS] patching from different directory
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Carlos Santana wrote: > Thanks Filipe. > > I can do it by cd-ing into file-to-be-patched dir. I think the -d > switch in patch command does similar thing (cd). But then it assumes > diff file also to be present in that new directory. > > I guess the problem is not having full dir path in the diff file > itself. The diff file mentions only file name. How do I get full path > in my diff file? Any clues? Could another option be to pipe the diff into patch via STDIN ? cat /path/to/filename.diff | patch -p0 or something. nate
- Previous message: [CentOS] patching from different directory
- Next message: [CentOS] patching from different directory
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list