mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 17:31:36 +00:00
Use find instead of mdfind in Mac build script.
This is for compatibility with Mac OS X 10.5 Leopard, which does not have mdfind -name.
This commit is contained in:
parent
bceb8ae218
commit
6a82123e6e
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue