Make toolchain2013.py work properly if there's a space in the temp path.

TBR=maruel@chromium.org
R=scottmg@chromium.org

Review URL: https://codereview.chromium.org/184103027

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@254932 0039d316-1c4b-4281-b951-d872f2087c98
parent f6349645
......@@ -196,10 +196,11 @@ def DownloadSDK8():
'Running sdksetup.exe to download Win8 SDK (may request elevation)...\n')
count = 0
while count < 5:
rc = os.system(target_path + ' /quiet '
'/features OptionId.WindowsDesktopDebuggers '
'OptionId.WindowsDesktopSoftwareDevelopmentKit '
'/layout ' + standalone_path)
rc = subprocess.call([target_path,
'/quiet',
'/features', 'OptionId.WindowsDesktopDebuggers',
'OptionId.WindowsDesktopSoftwareDevelopmentKit',
'/layout', standalone_path])
if rc == 0:
return standalone_path
count += 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment