Commit 04e4d426 authored by Titus Barik's avatar Titus Barik

Rename os variable in bootstrap.py to avoid shadowing os module.

parent 06fb4d25
......@@ -414,8 +414,8 @@ class RustBuild(object):
# The goal here is to come up with the same triple as LLVM would,
# at least for the subset of platforms we're willing to target.
if ostype == 'Linux':
os = subprocess.check_output(['uname', '-o']).strip().decode(default_encoding)
if os == 'Android':
os_from_sp = subprocess.check_output(['uname', '-o']).strip().decode(default_encoding)
if os_from_sp == 'Android':
ostype = 'linux-android'
else:
ostype = 'unknown-linux-gnu'
......
......@@ -9,7 +9,7 @@
# option. This file may not be copied, modified, or distributed
# except according to those terms.
# This file is only a "symlink" to boostrap.py, all logic should go there.
# This file is only a "symlink" to bootstrap.py, all logic should go there.
import os
import sys
......
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