Remove trailing slash from temp for update_depot_tools to work

This commit is contained in:
Kevin Sawicki 2017-06-13 16:09:16 -07:00
Родитель a71d7b552d
Коммит 98ee9346e5
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -122,6 +122,9 @@ def update_depot_tools():
# Don't actually update the depot tools, just install the required
# tools like python
env['DEPOT_TOOLS_UPDATE'] = '0'
# Remove trailing slash from TEMP
# https://bugs.chromium.org/p/chromium/issues/detail?id=340243
env['TEMP'] = env['TEMP'].rstrip('\\')
env['PATH'] = os.pathsep.join([os.path.join(VENDOR_DIR, 'depot_tools'),
env['PATH']])
cmd_path = env['COMSPEC']