[lug] modifying environment variables on the fly

Glenn Murray gmurray at Mines.EDU
Fri Apr 20 09:17:03 MDT 2001

That sounds like a pretty slick way to do it.  

In our projects we just have the compile/run scripts under CVS as well
so the developers can run those.  This is a help for us as sometimes
we have a long list of command line arguments for "java" which we want
in a script anyway.  The CLASSPATH stuff then goes in the script, too.
This works if the developer is running bash under Windoze, as well.

I presume "make" could do this sort of thing, too.

Glenn Murray

On Tue, 17 Apr 2001, Hugh Brown wrote:

> This is what we decided to do.  All of the projects are in CVS so we added
> a file named EnvironmentSetup.bash in each projects directory, then we set
> a global alias (alias sp=". ./EnvironmentSetup.bash") and then people just
> type sp (switch project) after they enter the appropriate directory.
> Thoughts?
> Hugh

More information about the LUG mailing list