Hi Akankshu, I don't recommend messing with the directory /etc/profile.d,
what you can do alternatively is create a file called .bash_profile in your
$HOME directory, and put your export statements there.

Regards,
Yee Wei


2009/11/20 Akankshu Dhawan <[email protected]>

> Hi All
> I am having a weird problem. I have installed tinyos a few times but never
> had this problem.
> I have created a script inside /etc/profile.d -> tinyos.sh
> Its contents are :
> export TOSROOT="/opt/tinyos-2.x"
> export TOSDIR="$TOSROOT/tos"
> export CLASSPATH="C:\cygwin\opt\tinyos-2.x\support\sdk\java\tinyos.jar;."
> export MAKERULES="$TOSROOT/support/make/Makerules"
>
> But when I try to start cygwin it does not capture these variables. But if
> I type the same strings on the cygwin console it responds and all my codes
> work fine.
>
> Similarly when I am trying to configure Eclipse's Yeti 2 it still does not
> recognise. Is there some cygwin package that I am missing ? Or some setting
> that I have wrong.
>
> Please help me out if anyone is aware of these things.
>
> Thanks
> Akankshu
>
> --
> First they ignore you, then they laugh at you, then they fight you, then
> you win.
> - Mahatma Gandhi
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to