On Tue, 26 Sep 2006, Hans Hagen wrote:

> Sanjoy Mahajan wrote:
>> Ah, you're right and I just realized what happened.
>>
>> 'ctxtools --updatecontext' calls unzip with -uo:
>>
>>        -u  update existing files and create new ones if needed.  This
>>            option performs the same function as the -f option,
>>            extracting (with query) files that are newer than those
>>            with the same name on disk, and in addition it extracts
>>            those files that do not already exist on disk.  See -f
>>            above for information on setting the timezone properly.
>>
>> I'd been hacking with tex.rb (debugging the --dvi switch) so my tex.rb
>> was more recent than the one in cont-tmf.zip, so it wasn't updated.
>>
>> Is it important to have -u?  I'd take the -u switch out of my own
>> ctxtools.rb but then it'll eventually get overwritten with the next
>> update, and the -u switch will be back!
>>
> dunno, probably only for speed reasons, so maybe we should use just -o

How about adding a --force switch to --updatecontext. So that

ctxtools --updatecontext calls unzip -uo (for the normal user)

and

ctxtools --updatecontext --force calls unzip -o (for those who play 
around with source files)

Aditya
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to