Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/macx
diff options
context:
space:
mode:
authorMikkel Krautz <mikkel@krautz.dk>2010-07-11 20:37:43 +0400
committerMikkel Krautz <mikkel@krautz.dk>2010-07-11 20:37:43 +0400
commit0cf351ea5dd533f1e239cd77fed23b91b308cad1 (patch)
tree063479ccb1af1f0f4cbfc87e6f6d5fc121e78c13 /macx
parente925ec60fe32633157ab0e62d0c43227c383ce86 (diff)
Only copy mumble-g15-helper to app bundle if it exists.
Diffstat (limited to 'macx')
-rwxr-xr-xmacx/scripts/osxdist.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/macx/scripts/osxdist.py b/macx/scripts/osxdist.py
index 2f3f2abf8..6811f2c51 100755
--- a/macx/scripts/osxdist.py
+++ b/macx/scripts/osxdist.py
@@ -219,10 +219,13 @@ class AppBundle(object):
'''
Copy the Mumble G15 helper daemon into our Mumble app bundle.
'''
- print ' * Copying G15 helper'
- src = os.path.join(self.bundle, '..', 'mumble-g15-helper')
- dst = os.path.join(self.bundle, 'Contents', 'MacOS', 'mumble-g15-helper')
- shutil.copy(src, dst)
+ if os.path.exists(os.path.join(self.bundle, '..', 'mumble-g15-helper')):
+ print ' * Copying G15 helper'
+ src = os.path.join(self.bundle, '..', 'mumble-g15-helper')
+ dst = os.path.join(self.bundle, 'Contents', 'MacOS', 'mumble-g15-helper')
+ shutil.copy(src, dst)
+ else:
+ print ' * No G15 helper found, skipping...'
def copy_resources(self, rsrcs):
'''