Merge pull request #1341 from notmasteryet/maxversion
Change maxVersion to *
This commit is contained in:
		
						commit
						30ad387d30
					
				
							
								
								
									
										3
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								Makefile
									
									
									
									
									
								
							| @ -283,6 +283,9 @@ extension: | production | |||||||
| 	@echo "AMO extension created: " $(FIREFOX_AMO_EXTENSION_NAME) | 	@echo "AMO extension created: " $(FIREFOX_AMO_EXTENSION_NAME) | ||||||
| 	# List all files for mozilla-central | 	# List all files for mozilla-central | ||||||
| 	@cd $(FIREFOX_BUILD_DIR); find $(FIREFOX_EXTENSION_FILES) -type f > extension-files | 	@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 | 	# Clear out everything in the chrome extension build directory | ||||||
| 	@rm -Rf $(CHROME_BUILD_DIR) | 	@rm -Rf $(CHROME_BUILD_DIR) | ||||||
|  | |||||||
							
								
								
									
										2
									
								
								make.js
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								make.js
									
									
									
									
									
								
							| @ -297,6 +297,8 @@ target.firefox = function() { | |||||||
|       extensionFiles += file+'\n'; |       extensionFiles += file+'\n'; | ||||||
|   } |   } | ||||||
|   extensionFiles.to('extension-files'); |   extensionFiles.to('extension-files'); | ||||||
|  |   // <em:maxVersion> must be set to "*" for mozilla-central
 | ||||||
|  |   sed('-i', /em:maxVersion>[^<]*/, 'em:maxVersion>*', 'install.rdf'); | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| //
 | //
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user