TARGET_PLATFORM => PLATFORM
TARGET_PLATFORM is quite misleading since it is actually host platform.
This commit is contained in:
parent
ca50cbb5ff
commit
1a6832d849
6 changed files with 29 additions and 29 deletions
|
@ -4,7 +4,7 @@ import argparse
|
|||
import os
|
||||
import sys
|
||||
|
||||
from lib.config import LIBCHROMIUMCONTENT_COMMIT, BASE_URL, TARGET_PLATFORM, \
|
||||
from lib.config import LIBCHROMIUMCONTENT_COMMIT, BASE_URL, PLATFORM, \
|
||||
enable_verbose_mode, is_verbose_mode
|
||||
from lib.util import execute_stdout, scoped_cwd
|
||||
|
||||
|
@ -19,7 +19,7 @@ def main():
|
|||
os.chdir(SOURCE_ROOT)
|
||||
|
||||
args = parse_args()
|
||||
if not args.yes and TARGET_PLATFORM != 'win32':
|
||||
if not args.yes and PLATFORM != 'win32':
|
||||
check_root()
|
||||
if args.verbose:
|
||||
enable_verbose_mode()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue