mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
Tools: Fix recurring multiple times over the same library in deploy-mac.py
This commit is contained in:
parent
2e2eabdfcb
commit
17989028b0
@ -96,6 +96,7 @@ def updateMachO(bin, execPath, root):
|
||||
if os.access(newPath, os.F_OK):
|
||||
if verbose:
|
||||
print('Skipping copying {}, already done.'.format(oldPath))
|
||||
newPath = None
|
||||
elif os.path.abspath(oldPath) != os.path.abspath(newPath):
|
||||
if verbose:
|
||||
print('Copying {} to {}...'.format(oldPath, newPath))
|
||||
@ -111,6 +112,7 @@ def updateMachO(bin, execPath, root):
|
||||
args = [installNameTool]
|
||||
for path, oldExecPath, newExecPath in toUpdate:
|
||||
if path != bin:
|
||||
if path:
|
||||
updateMachO(path, execPath, root)
|
||||
if verbose:
|
||||
print('Updating Mach-O load from {} to {}...'.format(oldExecPath, newExecPath))
|
||||
|
Loading…
Reference in New Issue
Block a user