This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Bash script and export CLASSPATH
- From: Brian Rowe <schwaa98 at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 2 Oct 2002 11:56:06 -0700 (PDT)
- Subject: Bash script and export CLASSPATH
Hello,
If I export CLASSPATH=blah on the command line it
works fine. If I write a shell program that sets the
CLASSPATH it won't set it! When I echo the value its
right from the script, but when its done the CLASSPATH
is not set. Any ideas on why this wouldn't work?
#!/bin/sh
export CLASSPATH="C:\jdk\lib\tools.jar"
Run that, then check echo $CLASSPATH at the command
line and CLASSPATH is the same.
odd?
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/