Unbuffered output in system ""

Joshua Root jmr at macports.org
Sun Jul 22 18:30:47 PDT 2012


On 2012-7-23 05:39 , Vincent Habchi wrote:
> Hi Ryan,
> 
> thanks for your answer
> 
>> Why do you need to call curl yourself? Can't the normal fetch phase do that for you?
> 
> Not that I am aware of. I am fetching two tagged git repositories as tgz files. The corresponding urls look a bit strange: ${base}/${repository}/zipball/${tag}. If you can help me fetch those more orthodoxly, I will gladly accept your advice!

Sounds like something similar to
<https://trac.macports.org/wiki/PortfileRecipes#fetchwithgetparams>
would work?

In any case, you don't have to shell out to run curl, you can use the
curl Tcl command in pextlib.

- Josh


More information about the macports-dev mailing list