Anton schrieb: > 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? > You are using the wrong fileformat. Use "dos2unix.exe" to convert "*.sh"
Axl > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
