Date: Tue, 6 Jan 2009 19:25:55 -0600 From: "Scot Hetzel" <swhetzel@gmail.com> To: "Torfinn Ingolfsen" <torfinn.ingolfsen@broadpark.no> Cc: freebsd-stable@freebsd.org Subject: Re: Pending MFC of drm updates Message-ID: <790a9fff0901061725p6f41a602vbb53cfdf490df5cf@mail.gmail.com> In-Reply-To: <20090107021725.3d43a49f.torfinn.ingolfsen@broadpark.no> References: <1231263380.57454.23.camel@squirrel.corp.cox.com> <20090107012457.f9ce6dba.torfinn.ingolfsen@broadpark.no> <20090107021725.3d43a49f.torfinn.ingolfsen@broadpark.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 6, 2009 at 7:17 PM, Torfinn Ingolfsen <torfinn.ingolfsen@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0901061725p6f41a602vbb53cfdf490df5cf>