Date: Wed, 26 May 2004 12:54:04 -0400 From: Chuck Swiger <cswiger@mac.com> To: joel.criqui@bt.com Cc: freebsd-questions@freebsd.org Subject: Re: patch Message-ID: <40B4CBAC.3090207@mac.com> In-Reply-To: <E5B8B1367469B446BB01D9E17968A10308226BFE@i2km35-ukdy.domain1.systemhost.net> References: <E5B8B1367469B446BB01D9E17968A10308226BFE@i2km35-ukdy.domain1.systemhost.net>
next in thread | previous in thread | raw e-mail | index | archive | help
joel.criqui@bt.com wrote: > I have a source ( in fact it's many sources) divided in many directories; > and I have to patch it with a diff file. But when I perform the patch command, > the computers wants to know which file I want to patch; but there are a lot of > sources, and many of them have to be patched. So is there any option which can > specify that all sources must be modified ? If you create the diff recursively (the -r option), it will record the directory structure so that patch knows how to find each of the changed files. Create the diff from the same relative position as the patch command will run and you should be fine, otherwise consider the -d and -p options to patch... -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40B4CBAC.3090207>