| Index: sitescripts/extensions/bin/createNightlies.py |
| =================================================================== |
| --- a/sitescripts/extensions/bin/createNightlies.py |
| +++ b/sitescripts/extensions/bin/createNightlies.py |
| @@ -216,26 +216,26 @@ class NightlyBuild(object): |
| self.shortVersion = metadata.get("general", "version") |
| self.basename = metadata.get("general", "basename") |
| self.updatedFromGallery = False |
| def writeUpdateManifest(self): |
| """ |
| Writes update.rdf file for the current build |
| """ |
| + baseDir = os.path.join(self.config.nightliesDirectory, self.basename) |
| if self.config.type == 'safari': |
| manifestPath = os.path.join(baseDir, "updates.plist") |
| templateName = 'safariUpdateManifest' |
| elif self.config.type == 'android': |
| manifestPath = os.path.join(baseDir, "updates.xml") |
| templateName = 'androidUpdateManifest' |
| else: |
| return |
| - baseDir = os.path.join(self.config.nightliesDirectory, self.basename) |
| if not os.path.exists(baseDir): |
| os.makedirs(baseDir) |
| # ABP for Android used to have its own update manifest format. We need to |
| # generate both that and the new one in the libadblockplus format as long |
| # as a significant amount of users is on an old version. |
| if self.config.type == 'android': |
| newManifestPath = os.path.join(baseDir, "update.json") |