]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tinyos.sh
The previous TOSROOT was being writting to TOSCFG.
[tinyos-2.x.git] / tinyos.sh
index f7e1368f061121d0451e8c3ba346bb50da997dbe..71b0960934764d45f9695482f830f9b1896d93f7 100644 (file)
--- a/tinyos.sh
+++ b/tinyos.sh
@@ -115,7 +115,7 @@ else
     if [ -n "$1" ]; then
        newroot=$(gettosroot "$1")
        if [ -n "$newroot" ]; then
-           echo "$TOSROOT" > "$TOSCFG"
+           echo "$newroot" > "$TOSCFG"
            installshrc
            echo "tinyos: now using $newroot"
        else