Re: Patch/Snippet Resolution

From: George (greerga@CIRCLEMUD.ORG)
Date: 09/02/98

On Wed, 2 Sep 1998, Edward J Glamkowski wrote:

>It is also really easy to ignore the shell script and just patch the .diff
>file anyway.  What you would have to do is write a shell script that IS
>the patch.  Which is to say, generate a .diff file, put it into the script
>in such a way that it writes the patch file upon executing the script
>(much like the configure script writes C programs to test for various
>things), patches the file and then deletes the patch.  (and then adds your
>name to the credit file.)

Linux has GNU shar which will do it for you(*).  Only cavet is that it
won't work in Windows, excluding the GNU-WIN32 type thing.

(*) - Well, if you edit the script to do the cat'ing after you make it.

George Greer, | Genius may have its limitations, but (not done) | stupidity is not thus handicapped.    |                  -- Elbert Hubbard

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/15/00 PST