##// END OF EJS Templates
util: adjust hgcmd() to handle frozen Mercurial on OS X...
Matt Harbison -
r27766:198f78a5 default
parent child Browse files
Show More
@@ -2044,6 +2044,10 def hgcmd():
2044 2044 get either the python call or current executable.
2045 2045 """
2046 2046 if mainfrozen():
2047 if getattr(sys, 'frozen', None) == 'macosx_app':
2048 # Env variable set by py2app
2049 return [os.environ['EXECUTABLEPATH']]
2050 else:
2047 2051 return [sys.executable]
2048 2052 return gethgcmd()
2049 2053
General Comments 0
You need to be logged in to leave comments. Login now