[lkml]   [1996]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: patch(1)ing (was Re: Problem with 2.0.20)
> What I always do is just go into the directory I'm patching and use `patch
> -p1`. That way it doesn't care at all what the directory prefix is for
> either the original or patched trees. Works all the time (unless whoever
> made the patch used some weird method to create the patch...)
> For instance, my script to extract a guaranteed clean version of the
> latest kernel tree from my archive of linux-2.0.tar.gz and patch-2.0.*.gz:

ever seen the script linux/scripts/patch-kernel ?

tar -xzf linux-2.0.tar.gz
linux/scripts/patch-kernel linux ..

should be equivalent to your script and it even does some error checking...

All SCSI disks will from now on ___ _____
be required to send an email notice 0--,| /OOOOOOO\
24 hours prior to complete hardware failure! <_/ / /OOOOOOOOOOO\
Harald Koenig, \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik // / \\ \ ^^^^^ ^^^^^

 \ /
  Last update: 2005-03-22 13:38    [W:0.031 / U:1.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site