code to rename legacy build dir

This commit is contained in:
Nick Bolton 2011-04-26 19:55:03 +00:00
parent 1ca32353d9
commit f9374cbb2b
1 changed files with 4 additions and 0 deletions

4
hm.py
View File

@ -32,6 +32,10 @@
import sys, os
sys.path.append('tools')
if os.path.exists('build'):
print "Removing legacy build dir."
os.rename('build', 'build.old')
from build import toolchain
from getopt import gnu_getopt