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
diff options
context:
space:
mode:
authorMikkel Krautz <mikkel@krautz.dk>2010-07-30 17:46:34 +0400
committerMikkel Krautz <mikkel@krautz.dk>2010-07-30 17:46:48 +0400
commitba654a58fe2d71470609bee4c5075e8f55e56c6c (patch)
treead03fb3463b2c4b867ecf303c1e479d4701a4684 /macx/scripts
parentae54c25eee7efe869c477dfd89860990bfc595ef (diff)
Auto-updating overlay installer on Mac OS X.
Diffstat (limited to 'macx/scripts')
-rwxr-xr-xmacx/scripts/osxdist.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/macx/scripts/osxdist.py b/macx/scripts/osxdist.py
index d72efebd2..c2b383948 100755
--- a/macx/scripts/osxdist.py
+++ b/macx/scripts/osxdist.py
@@ -418,6 +418,7 @@ if __name__ == '__main__':
parser.add_option('', '--git', dest='git', help='Build a snapshot release. Use the git revision number as the \'snapshot version\'.', action='store_true', default=False)
parser.add_option('', '--universal', dest='universal', help='Build an universal snapshot.', action='store_true', default=False)
parser.add_option('', '--only-appbundle', dest='only_appbundle', help='Only prepare the appbundle. Do not package.', action='store_true', default=False)
+ parser.add_option('', '--only-overlay', dest='only_overlay', help='Only create the overlay installer.', action='store_true', default=False)
parser.add_option('', '--codesign', dest='codesign', help='Create a codesigned build.')
options, args = parser.parse_args()
@@ -453,11 +454,13 @@ if __name__ == '__main__':
print 'This script needs to be run from the root of the Mumble source tree.'
sys.exit(1)
- # Fix .ini files
- os.system('cd scripts && sh mkini.sh')
-
# Fix overlay installer package
create_overlay_package(options.codesign)
+ if options.only_overlay:
+ sys.exit(0)
+
+ # Fix .ini files
+ os.system('cd scripts && sh mkini.sh')
# Do the finishing touches to our Application bundle before release
a = AppBundle('release/Mumble.app', ver)