]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
The previous TOSROOT was being writting to TOSCFG.
authorR. Steve McKown <rsmckown@gmail.com>
Sat, 24 Apr 2010 01:31:22 +0000 (19:31 -0600)
committerR. Steve McKown <rsmckown@gmail.com>
Sat, 24 Apr 2010 01:31:22 +0000 (19:31 -0600)
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