diff --git a/Tools/deploy-mac.py b/Tools/deploy-mac.py index 8305a43046..80976d3f9a 100755 --- a/Tools/deploy-mac.py +++ b/Tools/deploy-mac.py @@ -120,7 +120,10 @@ def updateMachO(bin, execPath, root): print('Updating Mach-O id from {} to {}...'.format(oldExecPath, newExecPath)) args.extend(['-id', newExecPath]) args.append(bin) - subprocess.check_call(args) + + # Check we actually have to update some paths + if len(args) > 2: + subprocess.check_call(args) if __name__ == '__main__': parser = argparse.ArgumentParser()