[Ns-developers] Waf executed from nested directories
Tommaso Pecorella
tpecorella at mac.com
Tue Apr 17 14:07:12 PDT 2012
Thanks, quick and effective !
T.
On 17 Apr 2012, at 12:28, Gustavo Carneiro wrote:
> I pushed a fix for this to ns-3-dev.
>
> Cheers.
>
> On Mon, Apr 16, 2012 at 21:55, Tommaso Pecorella <tommaso.pecorella at unifi.it
>> wrote:
>
>> Hi Gustavo,
>>
>> I just found that in the examples/stats directory there is a shell script
>> not working as intended.
>>
>> The reason is the invocation of waf from a nested directory, i.e.:
>> ../../waf --run "wifi-example-sim --format=db --distance=$distance
>> --run=run-$distance-$trial"
>>
>> Now, this "once upon a time" was working, but it isn't anymore (from 3.13
>> or earlier).
>>
>> My dumb fix is to do a cd ../.. before the waf invocation, but I feel it's
>> a bit a hack.
>>
>> Do you have a better fix or shall I go with the hack ?
>>
>> Cheers,
>>
>> Tommaso
>>
>>
>> --------------------------------------------------------------
>>
>>
>> The nice thing about standards is that there are so many to choose from.
>> And if you really don't like all the standards you just have to wait
>> another year until the one arises you are looking for.
>>
>> -- A. Tanenbaum, "Introduction to Computer Networks"
>>
>>
>> --------------------------------------------------------------
>>
>>
>> Tommaso Pecorella - Ph.D.
>>
>>
>> Assistant professor
>>
>> Dpt. Elettronica e Telecomunicazioni
>>
>> Università di Firenze
>>
>>
>> CNIT - Università di Firenze Unit
>>
>>
>> via di S. Marta 3
>>
>> 50139, Firenze
>>
>> ITALY
>>
>>
>> email: tommaso.pecorella at unifi.it
>>
>> tommaso.pecorella at cnit.it
>>
>>
>> phone : +39-055-4796412
>> mobile: +39-320-4379803
>> fax : +39-055-494569
>>
>>
>>
>>
>>
>>
>
>
> --
> Gustavo J. A. M. Carneiro
> INESC Porto, UTM, WiN, http://win.inescporto.pt/gjc
> "The universe is always one step beyond logic." -- Frank Herbert
--------------------------------------------------------------
$25: for you a pizza and some beers with friends, for someone
might change their lives. Think about it.
Kiva.org - Loans That Change Lives
--------------------------------------------------------------
Tommaso Pecorella - Ph.D.
Assistant professor
Dpt. Elettronica e Telecomunicazioni
Università di Firenze
CNIT - Università di Firenze Unit
via di S. Marta 3
50139, Firenze
ITALY
email: tommaso.pecorella at unifi.it
tommaso.pecorella at cnit.it
phone : +39-055-4796412
mobile: +39-320-4379803
fax : +39-055-494569
More information about the Ns-developers
mailing list