> From: Paul D. DeRocco [mailto:[email protected]] > > This may be a Cygwin issue, but since it's happening with > ecosenv.sh, someone here must have the obvious answer. > > ecosenv.sh is supposed to set ECOS_REPOSITORY and prepend a > couple things to PATH. It doesn't when I run it from my > .bash_profile script. Even if I manually run it with > "/opt/ecos3/ecosenv.sh" (ecos3 is where I put the new version), > the variables don't get set. If I add "echo $PATH" to the end of > ecosenv.sh, I see the path is properly set, but returning from > ecosenv.sh to the prompt seems to undo it, as though running the > script starts a new bash process instead of running the script in > the existing process.
Never mind. I found some bash docs, and way down the end was a mention of using a period at the start of the command line to make it execute a script in the current shell. -- Ciao, Paul D. DeRocco Paul mailto:[email protected] -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
