Skip to content

Commit

Permalink
💄 on string comparison.
Browse files Browse the repository at this point in the history
  • Loading branch information
zcbenz committed Aug 6, 2013
1 parent f46d5eb commit 296feb1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion script/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
4 changes: 2 additions & 2 deletions script/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ 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])


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',
Expand Down

0 comments on commit 296feb1

Please sign in to comment.