[hg] galaxy 2930: Fix for Nate's get_platform monkey patch.
details: http://www.bx.psu.edu/hg/galaxy/rev/1aafea08f0e8 changeset: 2930:1aafea08f0e8 user: Dan Blankenberg <dan@bx.psu.edu> date: Thu Oct 29 09:25:52 2009 -0400 description: Fix for Nate's get_platform monkey patch. diffstat: lib/galaxy/__init__.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r a9426ddbe468 -r 1aafea08f0e8 lib/galaxy/__init__.py --- a/lib/galaxy/__init__.py Wed Oct 28 15:09:10 2009 -0400 +++ b/lib/galaxy/__init__.py Thu Oct 29 09:25:52 2009 -0400 @@ -12,7 +12,7 @@ import os, sys from distutils.sysconfig import get_config_vars -if ( os.uname()[-1] in ( 'i386', 'ppc' ) and sys.platform == 'darwin' and sys.prefix.startswith( '/System' ) ) or \ +if ( os.uname()[-1] in ( 'i386', 'ppc' ) and sys.platform == 'darwin' and os.path.abspath( sys.prefix ).startswith( '/System' ) ) or \ ( sys.platform == 'darwin' and get_config_vars().get('UNIVERSALSDK', '').strip() ): # Has to be before anything imports pkg_resources def _get_platform_monkeypatch():
participants (1)
-
Greg Von Kuster