Browse Source

fix(scripts): account for sys.platform being "linux" as well "linux2" (#21741)

Daniel Playfair Cal 5 years ago
parent
commit
29b7d80eb5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      script/lib/util.py

+ 1 - 0
script/lib/util.py

@@ -260,6 +260,7 @@ def get_buildtools_executable(name):
   buildtools = os.path.realpath(os.path.join(ELECTRON_DIR, '..', 'buildtools'))
   chromium_platform = {
     'darwin': 'mac',
+    'linux': 'linux64',
     'linux2': 'linux64',
     'win32': 'win',
   }[sys.platform]