automate.py: Run update_depot_tools even if a depot-tools directory is specified on the command-line.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1505 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2013-11-05 20:26:02 +00:00
parent 601c2b0ee9
commit dbbaf51383
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@ if not os.path.exists(depot_tools_dir):
# checkout depot_tools
run('svn checkout '+depot_tools_url+' '+depot_tools_dir, download_dir)
if not options.noupdate and options.depottools == '':
if not options.noupdate:
# Update depot_tools. It will download required scripts (svn, python, ...)
if platform == 'windows':
run('update_depot_tools.bat', depot_tools_dir, depot_tools_dir);