💄 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_apm()
|
||||||
update_node_modules()
|
update_node_modules()
|
||||||
bootstrap_brightray(args.url)
|
bootstrap_brightray(args.url)
|
||||||
if sys.platform is 'cygwin':
|
if sys.platform == 'cygwin':
|
||||||
update_win32_python()
|
update_win32_python()
|
||||||
|
|
||||||
touch_config_gypi()
|
touch_config_gypi()
|
||||||
|
|
|
@ -17,7 +17,7 @@ def main():
|
||||||
|
|
||||||
|
|
||||||
def update_frameworks():
|
def update_frameworks():
|
||||||
if sys.platform is 'darwin':
|
if sys.platform == 'darwin':
|
||||||
uf = os.path.join('script', 'update-frameworks.py')
|
uf = os.path.join('script', 'update-frameworks.py')
|
||||||
subprocess.check_call([sys.executable, uf])
|
subprocess.check_call([sys.executable, uf])
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ def update_frameworks():
|
||||||
def update_gyp():
|
def update_gyp():
|
||||||
gyp = os.path.join('vendor', 'gyp', 'gyp_main.py')
|
gyp = os.path.join('vendor', 'gyp', 'gyp_main.py')
|
||||||
python = sys.executable
|
python = sys.executable
|
||||||
if sys.platform is 'cygwin':
|
if sys.platform == 'cygwin':
|
||||||
python = os.path.join('vendor', 'python_26', 'python.exe')
|
python = os.path.join('vendor', 'python_26', 'python.exe')
|
||||||
subprocess.call([python, gyp,
|
subprocess.call([python, gyp,
|
||||||
'-f', 'ninja', '--depth', '.', 'atom.gyp',
|
'-f', 'ninja', '--depth', '.', 'atom.gyp',
|
||||||
|
|
Loading…
Reference in a new issue