diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-02-06 12:04:01 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-02-06 12:04:01 -0800 |
commit | 12369fb990f2eb45f8626482b680aee6ee06ecb7 (patch) | |
tree | 80ae3d7850a719066b4a37cbc681c08c65bf31a6 /tools/shared.py | |
parent | 3110b54a350cb20d01e3fcd2101280ee311ecc01 (diff) |
fix cmake typo
Diffstat (limited to 'tools/shared.py')
-rw-r--r-- | tools/shared.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/shared.py b/tools/shared.py index a0e86156..45400581 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -395,7 +395,7 @@ set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)'''.replace('$EMSCRIPTEN_ROOT', path_ if env is None: env = Building.get_building_env() env['EMMAKEN_JUST_CONFIGURE'] = '1' - if 'cmake' in argv[0]: + if 'cmake' in sys.argv[0]: args = Building.handle_CMake_toolchain(args) Popen(args, stdout=stdout, stderr=stderr, env=env).communicate()[0] del env['EMMAKEN_JUST_CONFIGURE'] |