[lug] Creating a patch
Ken Weinert
kenw at ihs.com
Fri Oct 19 12:01:55 MDT 2001
* Scott A. Herod (herod at interact-tv.com) [011019 17:48]:
> It helps if your original and new versions are at the same level
> down from a common directory. Then go to that common directory and
> run:
>
> diff -Naur path/to/old path/now_to/new > patchfile
>
> You'll get path stuff in each but the person using the patch can
> run "patch --strip=2 ... " to strip off those common directories,
> in this case 2 of them.
Thanks - I'll wait to hear back from him to be sure I did it
correctly (or at least in the manner he expected :) but that made
sense and I got the patch out to the maintainer.
Sometimes I can read the man and I just miss the point - I
appreciate the help.
--
Ken Weinert kenw at ihs.com 303-858-6956 (V) 303-705-4258 (F)
GnuPG KeyID: 9274F1CE GnuPG available at http://www.gnupg.org/
GnuPG Key Fingerprint: 1D87 3720 BB77 4489 A928 79D6 F8EC DD76 9274 F1CE
Linux 2.2.14: up 24 days, 3:37
Acronym -- PITM Prove It To Me
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20011019/4e2e3ac8/attachment.pgp>
More information about the LUG
mailing list