On Tue, Jan 6, 2009 at 7:17 PM, Torfinn Ingolfsen
<torfinn.ingolf...@broadpark.no> wrote:
> Is ther a "secret handshake" to make patch put the files in their
> correct place? (Except for reading through the whole patchfile to
> determine if all touched filews are in the same directory.)
>

patch -p0 < patchfile

This will place the files into the correct locations.

Patch with no '-p' option will first try to put the files in the path
provided in the patch file, if the path exists, otherwise it places
the files in the current directory.

See the man page for patch.

Scot
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to