[Pkg-mozext-commits] [adblock-plus] 25/52: Issue 1766 - Don't skip creating the *.safariextenstion folder when creating devenv for Safari
David Prévot
taffit at moszumanska.debian.org
Thu Jan 22 21:43:46 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository adblock-plus.
commit a9c69361b98fb187d34b8b0fbee1a65c0ab15a0e
Author: Sebastian Noack <sebastian at adblockplug.org>
Date: Thu Jan 8 17:42:52 2015 +0100
Issue 1766 - Don't skip creating the *.safariextenstion folder when creating devenv for Safari
--HG--
extra : rebase_source : 2052165b2358886f804170cca1c0ee0d7ee1708b
---
packagerSafari.py | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)
diff --git a/packagerSafari.py b/packagerSafari.py
index c67c7b4..e60b5f2 100644
--- a/packagerSafari.py
+++ b/packagerSafari.py
@@ -247,13 +247,11 @@ def createBuild(baseDir, type, outFile=None, buildNum=None, releaseBuild=False,
fixAbsoluteUrls(files)
- if not devenv:
- dirname = metadata.get('general', 'basename') + '.safariextension'
- for filename in files.keys():
- files[os.path.join(dirname, filename)] = files.pop(filename)
-
- if keyFile:
- createSignedXarArchive(outFile, files, keyFile)
- return
-
- files.zip(outFile)
+ dirname = metadata.get('general', 'basename') + '.safariextension'
+ for filename in files.keys():
+ files[os.path.join(dirname, filename)] = files.pop(filename)
+
+ if not devenv and keyFile:
+ createSignedXarArchive(outFile, files, keyFile)
+ else:
+ files.zip(outFile)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git
More information about the Pkg-mozext-commits
mailing list