Thanks a lot ..  But problem seems to be solved .
One of our friend Ole sent me his script file .. which contain following
data ..
One more thing actually i pretty new to all this unix , bash shell concepts.
.. so .. suggestions given by Michael and Mike seems to be completely not in
my understanding !!  :) But i am reading from the link sent by Mike . Thaks
a lot friends.
Ya one more thing .. even though "\r"   & ":" errors those variables are
accepted . I found which file is responsible for those errors .. Its
/etc/profile.d/msp430tools.cs
Amusingly even after giving those error bash is accepting those variables.


content of Ole's script file . (When i replaced it with mine in
/etc/profile.d/  all started to work . Shell accepted those variables. )
_____________________________________________________________________________
# script for profile.d for bash shells, adjusted for each users
# installation by substituting /opt for the actual tinyos tree
# installation point.

echo "TinyOS-2.x"

TOSROOT=''/opt/tinyos-2.x''
export TOSROOT
echo $TOSROOT
TOSDIR="$TOSROOT/tos"
export TOSDIR
CLASSPATH="C:/tinyos/cygwin/opt/tinyos-2.x/support/sdk/java/tinyos.jar;."
export CLASSPATH
MAKERULES="$TOSROOT/support/make/Makerules"
export MAKERULES
PATH="/opt/msp430/bin:$PATH"
export PATH

# Extend path for java
type java >/dev/null 2>/dev/null || PATH=`/usr/local/bin/locate-jre
--java`:$PATH
type javac >/dev/null 2>/dev/null || PATH=`/usr/local/bin/locate-jre
--javac`:$PATH
echo $PATH | grep -q /usr/local/bin ||  PATH=/usr/local/bin:$PATH

cd $TOSROOT/apps
----------------------------------------------------------------------------------------------------------------------------------

thanks a lot guys .. cheers ..



With Best Regards Himanshu Barve M.Tech Electrical Engineering (Power
System) IIT Kharagpur , West Bengal , India Ph: - +91 9775201181
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to