Fix first regression introduced with r55173: need to import shutil before using methods from it
Otherwise linux buildbot fails dramatically. That revision also leads to msvc runtime libs being removed, will fix this in separate commit. Take more respect for such creepy as linux and windows platforms, they're not so bad!
This commit is contained in:
parent
4daef64986
commit
ed1c22db00
|
@ -21,6 +21,7 @@
|
|||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
import shutil
|
||||
|
||||
# get builder name
|
||||
if len(sys.argv) < 2:
|
||||
|
@ -70,8 +71,6 @@ else:
|
|||
config_dir = os.path.join(buildbot_dir, 'config')
|
||||
|
||||
if builder.find('linux') != -1:
|
||||
import shutil
|
||||
|
||||
configs = []
|
||||
if builder.endswith('linux_glibc211_x86_64_scons'):
|
||||
configs = ['user-config-player-glibc211-x86_64.py',
|
||||
|
|
Loading…
Reference in New Issue