This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
RE: Cygwin startup problem with ecosenv.sh
- From: "Paul D. DeRocco" <pderocco at ix dot netcom dot com>
- To: "eCos Discuss" <ecos-discuss at ecos dot sourceware dot org>
- Date: Sat, 4 Apr 2009 19:51:13 -0700
- Subject: [ECOS] RE: Cygwin startup problem with ecosenv.sh
> From: Paul D. DeRocco [mailto:pderocco@ix.netcom.com]
>
> 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:pderocco@ix.netcom.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss