[tlbuild] Build -g

Ken Brown kbrow1i at gmail.com
Thu Apr 30 03:22:08 CEST 2009


On 4/29/2009 8:01 PM, Karl Berry wrote:
>     ./Build: line 88: time: command not found
> 
> Hmm.  Maybe it worked for me because time is a builtin in the shells I
> was using.
> 
> So does
> eval foo=bar time true
> work on Cygwin?  That's all the script is doing.

No:

$ eval foo=bar time true
-bash: time: command not found

But time must in fact be a builtin, because 'which time' doesn't find an 
external time program, and 'eval ...' works if I delete 'foo=bar':

$  eval time true

real    0m0.001s
user    0m0.000s
sys     0m0.000s

So foo=bar must somehow be confusing bash.  Oh well, it's not a big 
deal.  I only wrote because I (wrongly) assumed that Build had been 
changed in such a way that -g no longer worked.  I can certainly work 
around it if I ever want to achieve the same effect.

Ken



More information about the tlbuild mailing list