On 15/11/10 07:03, Paul Eggert wrote:
> On 11/14/2010 03:22 PM, Joel E. Denny wrote:
>> To keep things simple, could we just extend the existing bootstrap script 
>> so that, once it has fetched gnulib sources and before doing anything 
>> else, it updates itself and re-exec's itself if there are any changes?  
> 
> It sounds tricky to update a shell script in place, while it's executing.
> I'm not saying it can't be done....

I've done it before, but I don't know how general the method is:
http://www.pixelbeat.org/scripts/self_modify.sh

Reply via email to