Added expanduser for toolchain_root commandline option.

PRESUBMIT=passed
R=raymes
DELTA=2  (2 added, 0 deleted, 0 changed)
OCL=46430-p2
RCL=46434-p2
RDATE=2011/01/12 16:16:16


P4 change: 42608537
diff --git a/v14/build_tc.py b/v14/build_tc.py
index c9d2aaa..5f2419a 100755
--- a/v14/build_tc.py
+++ b/v14/build_tc.py
@@ -66,6 +66,8 @@
       (options.toolchain_root is None or options.board is None)):
     parser.print_help()
     sys.exit()
+  else:
+    options.toolchain_root = os.path.expanduser(options.toolchain_root)
 
   if options.chromeos_root is None:
     if os.path.exists("enter_chroot.sh"):