Skip to content
This repository has been archived by the owner on Aug 20, 2018. It is now read-only.

Commit

Permalink
accept path to firefox-bin on Mac OS X with -b flag
Browse files Browse the repository at this point in the history
  • Loading branch information
harthur committed Sep 10, 2010
1 parent d4712c2 commit f3f6829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mozrunner/mozrunner/__init__.py
Expand Up @@ -329,7 +329,7 @@ def __init__(self, binary=None, profile=None, cmdargs=[], env=None,
aggressively_kill=['crashreporter'], kp_kwargs={}):
if binary is None:
self.binary = self.find_binary()
elif sys.platform == 'darwin':
elif sys.platform == 'darwin' and binary.find('Contents/MacOS/') == -1:
self.binary = os.path.join(binary, 'Contents/MacOS/%s-bin' % self.names[0])
else:
self.binary = binary
Expand Down

0 comments on commit f3f6829

Please sign in to comment.