Re: Why from there?

Mike A. Harris (mharris@ican.net)
Thu, 14 May 1998 03:13:30 -0400 (EDT)


On Wed, 13 May 1998, Alex Buell wrote:

> > I'd second that, apart from a little question: if I apply patch-2.1.102
> > to linux-2.1.101, is there a way to change the directory name to
> > linux-2.1.102? If not, I can see why it is named 'linux'.
>
> Use the -d option of patch. This tells the patch program to trundle off
> and patch the files in that given directory.
>
> i.e zcat patch-2.1.202 | patch -p1 -d linux-2.101
>
> Neat isn't it. I discovered this trick only after re-reading patch
> documentations after trashing a kernel tree, thanks to some idiot who
> didn't get the linux-versioning right.

I just point the symlink to the proper dir...

linux -> linux-2.0.33

Patch works fine with the symlink... Then I mv linux-2.0.33 to
linux 2.0.34 and retar the dir, and fix the symlink.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu