forked from mirrors/gecko-dev
		
	Followup to bug 579178 part B (packaging) - only create the mochitest distribution bundle directory if it doesn't already exist
This commit is contained in:
		
							parent
							
								
									0736255572
								
							
						
					
					
						commit
						1655130cfc
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -692,6 +692,7 @@ overlay chrome://browser/content/browser.xul chrome://mochikit/content/browser-t | ||||||
|   def installChromeFile(self, filename, options): |   def installChromeFile(self, filename, options): | ||||||
|     (path, leaf) = os.path.split(options.app) |     (path, leaf) = os.path.split(options.app) | ||||||
|     manifestdir = os.path.join(path, "distribution", "bundles", "mochitest") |     manifestdir = os.path.join(path, "distribution", "bundles", "mochitest") | ||||||
|  |     if not os.path.exists(manifestdir): | ||||||
|       os.makedirs(manifestdir) |       os.makedirs(manifestdir) | ||||||
|     manifest = os.path.join(manifestdir, "chrome.manifest") |     manifest = os.path.join(manifestdir, "chrome.manifest") | ||||||
|     shutil.copy(filename, manifest) |     shutil.copy(filename, manifest) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Benjamin Smedberg
						Benjamin Smedberg