Merge pull request #76 from clehner/master

Mac OS X 10.5 compatibility (minor)
This commit is contained in:
EagleTM 2013-01-02 16:36:45 -08:00
commit 9a070e0ac1
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ if sys.platform == 'darwin':
qt_menu_location = "/opt/local/lib/Resources/qt_menu.nib"
else:
# No dice? Then let's try the brew version
qt_menu_location = os.popen("mdfind -name qt_menu.nib | grep Cellar | head").read()
qt_menu_location = os.popen("find /usr/local/Cellar -name qt_menu.nib | head").read()
qt_menu_location = re.sub('\n','', qt_menu_location)
if(len(qt_menu_location) == 0):