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:
parent
601c2b0ee9
commit
dbbaf51383
|
@ -294,7 +294,7 @@ if not os.path.exists(depot_tools_dir):
|
||||||
# checkout depot_tools
|
# checkout depot_tools
|
||||||
run('svn checkout '+depot_tools_url+' '+depot_tools_dir, download_dir)
|
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, ...)
|
# Update depot_tools. It will download required scripts (svn, python, ...)
|
||||||
if platform == 'windows':
|
if platform == 'windows':
|
||||||
run('update_depot_tools.bat', depot_tools_dir, depot_tools_dir);
|
run('update_depot_tools.bat', depot_tools_dir, depot_tools_dir);
|
||||||
|
|
Loading…
Reference in New Issue