Fixed an issue with build_tc and tc_enter_chroot.py where ~ was not being expanded.

PRESUBMIT=passed
R=raymes,bjanakiraman
DELTA=8  (7 added, 0 deleted, 1 changed)
OCL=45311-p2
RCL=45313-p2
RDATE=2010/11/18 18:20:11


P4 change: 42606314
diff --git a/v14/build_tc.py b/v14/build_tc.py
index 51fde50..531af1d 100755
--- a/v14/build_tc.py
+++ b/v14/build_tc.py
@@ -11,6 +11,7 @@
 
 import getpass
 import optparse
+import os
 import sys
 import tc_enter_chroot
 import build_chromeos
@@ -47,6 +48,8 @@
 
   options = parser.parse_args()[0]
 
+  options.chromeos_root = os.path.expanduser(options.chromeos_root)
+
   if options.toolchain_root is None or options.board is None:
     parser.print_help()
     sys.exit()
@@ -127,7 +130,7 @@
 
   binutils_version = "2.20.1-r1"
   gcc_version = "9999"
-  libc_version = "2.10.1-r1"
+  libc_version = "2.10.1-r2"
   kernel_version = "2.6.30-r1"
 
   argv = [rootdir + "tc_enter_chroot.py",