[Tinyos-help] environmental variables in shell script
Anton
ageev at disi.unitn.it
Wed Oct 1 08:05:14 PDT 2008
When I set the variables manually (typing in the cygwin shell)
everything is OK.
When I use *.sh file with those settings, it does not work because
variables are "overwritten", for example these two lines:
export TOSROOT="/opt/tinyos-2.x"
export TOSDIR="$TOSROOT/tos"
in the shell script cause TOSDIR value to be "/tos/tinyos-2.x", so
instead of appending "/tos" after TOSROOT, "/tos" is written in the
beginning (and it overwrites "/opt").
Does anybody know why this happens?
More information about the Tinyos-help
mailing list