Hello Nicola,

Thanks for the tip!  I've made the file called .bashrc at
/cygdrive/c/Documents and Settings/jfell and placed in it the following
shell script:

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

However, now I am getting this error when I launch the Cygwin Bash
Shell:

bash: /usr/local/bin/locate-jre: No such file or directory

This error does not occur, if I run the same script manually from a file
I made called go.sh.

Any thoughts?

Thanks,

-Jim


-----Original Message-----

Date: Wed, 30 Jul 2008 18:53:13 +0200
From: "Nicola Wegner" <[EMAIL PROTECTED]>
Subject: Re: [Tinyos-help] Cygwin Script Autolaunch
To: [email protected]
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=UTF-8

2008/7/30 Jim Fell <[EMAIL PROTECTED]>:
> Hello.
>
> Is there a way to get Cygwin to auto-launch a shell script when the
Cygwin
> Bash Shell launches?

You can put shell commands in the file .bashrc in your home directory.

Nicola


_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to