Merge pull request #1341 from notmasteryet/maxversion

Change maxVersion to *
This commit is contained in:
Brendan Dahl 2012-03-15 16:14:12 -07:00
commit 30ad387d30
2 changed files with 5 additions and 0 deletions

View File

@ -283,6 +283,9 @@ extension: | production
@echo "AMO extension created: " $(FIREFOX_AMO_EXTENSION_NAME)
# List all files for mozilla-central
@cd $(FIREFOX_BUILD_DIR); find $(FIREFOX_EXTENSION_FILES) -type f > extension-files
# <em:maxVersion> must be set to "*" for mozilla-central
@sed -i.bak "s/em:maxVersion>[^<]*/em:maxVersion>*/" $(FIREFOX_BUILD_DIR)/install.rdf
@rm -f $(FIREFOX_BUILD_DIR)/*.bak
# Clear out everything in the chrome extension build directory
@rm -Rf $(CHROME_BUILD_DIR)

View File

@ -297,6 +297,8 @@ target.firefox = function() {
extensionFiles += file+'\n';
}
extensionFiles.to('extension-files');
// <em:maxVersion> must be set to "*" for mozilla-central
sed('-i', /em:maxVersion>[^<]*/, 'em:maxVersion>*', 'install.rdf');
};
//