Hi,
On Thu, Sep 10, 2009 at 17:30, Carlos Santana wrote:
> Is there any way to get absolute path in the diff o/p?
Well, yes, if you run "diff" passing absolute pathnames then (I
believe) it will create a path with absolute pathnames... (It might
not, considering that this is not very useful. GNU
On Thu, Sep 10, 2009 at 2:55 PM, Filipe Brandenburger
wrote:
> Hi,
>
> On Thu, Sep 10, 2009 at 14:28, Carlos Santana wrote:
>> Thanks Filipe.
>>
>> I can do it by cd-ing into file-to-be-patched dir.
>
> So, this means it's fixed for you?
>
>> I think the -d
>> switch in patch command does similar
Hi,
On Thu, Sep 10, 2009 at 14:28, Carlos Santana wrote:
> Thanks Filipe.
>
> I can do it by cd-ing into file-to-be-patched dir.
So, this means it's fixed for you?
> 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
Hi,
On Thu, Sep 10, 2009 at 14:34, nate 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 http://lists.centos.org/mailman/listinfo/centos
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 f
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
Hi,
On Thu, Sep 10, 2009 at 14:04, Carlos Santana wrote:
> I have a diff file in my /var/tmp and would like to apply patch to a
> file in a different directory (other than /va/tmp). I tried using
> patch with -d switch, but that doesn't work. It complains abt 'patch:
> Can't open patch file
Howdy,
I have a diff file in my /var/tmp and would like to apply patch to a
file in a different directory (other than /va/tmp). I tried using
patch with -d switch, but that doesn't work. It complains abt 'patch:
Can't open patch file tilda.diff : No such file or directory'. Do
I need to copy
8 matches
Mail list logo