bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] bootstrap: add bootstrap_sync option.


From: Pádraig Brady
Subject: Re: [PATCH] bootstrap: add bootstrap_sync option.
Date: Mon, 15 Nov 2010 12:24:06 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3

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

[Prev in Thread] Current Thread [Next in Thread]