💄 on string comparison.
This commit is contained in:
parent
f46d5eb651
commit
296feb1a50
2 changed files with 3 additions and 3 deletions
|
@ -26,7 +26,7 @@ def main():
|
|||
update_apm()
|
||||
update_node_modules()
|
||||
bootstrap_brightray(args.url)
|
||||
if sys.platform is 'cygwin':
|
||||
if sys.platform == 'cygwin':
|
||||
update_win32_python()
|
||||
|
||||
touch_config_gypi()
|
||||
|
|
|
@ -17,7 +17,7 @@ def main():
|
|||
|
||||
|
||||
def update_frameworks():
|
||||
if sys.platform is 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
uf = os.path.join('script', 'update-frameworks.py')
|
||||
subprocess.check_call([sys.executable, uf])
|
||||
|
||||
|
@ -25,7 +25,7 @@ def update_frameworks():
|
|||
def update_gyp():
|
||||
gyp = os.path.join('vendor', 'gyp', 'gyp_main.py')
|
||||
python = sys.executable
|
||||
if sys.platform is 'cygwin':
|
||||
if sys.platform == 'cygwin':
|
||||
python = os.path.join('vendor', 'python_26', 'python.exe')
|
||||
subprocess.call([python, gyp,
|
||||
'-f', 'ninja', '--depth', '.', 'atom.gyp',
|
||||
|
|
Loading…
Reference in a new issue