[Tinyos-help] Upgrading from TinyOS 1.x to TinyOS 2.x
Max CORTIANA
max.cortiana at st.com
Fri Sep 1 00:55:24 PDT 2006
I've followed the article "Upgrading from TinyOS 1.x to TinyOS 2.x",
located at page
"http://www.tinyos.net/tinyos-2.x/doc/html/upgrade-tinyos.html" and now
my old Tinyos-1.x and 2.0 share the same cygwin installation.
The problem I had was the creation of 2 scripts used to modify
environment variables. If scripts are executed in a shell with the syntax
./script
then environment variables are not changed in the shell environment
(scripts are executed in they environment which is the copy of the
caller env).
The solution I've found is to call scripts in such way:
(dot)(space)(name of script)
i.e.:
. script
With this syntax Linux executes programs in the caller environment and
every modification is persistent after programs end.
If you think this information is useful, I kindly ask to append it in
the "Upgrading from TinyOS 1.x to TinyOS 2.x" article.
- Max
*
*
More information about the Tinyos-help
mailing list