mirror of
				https://github.com/python/cpython.git
				synced 2025-10-29 20:51:26 +00:00 
			
		
		
		
	Take the basename of the script before concatenating it with the build dir.
This commit is contained in:
		
							parent
							
								
									fd267d998d
								
							
						
					
					
						commit
						fe55e86a0a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -52,7 +52,7 @@ def copy_scripts (self): | ||||||
|         self.mkpath(self.build_dir) |         self.mkpath(self.build_dir) | ||||||
|         for script in self.scripts: |         for script in self.scripts: | ||||||
|             adjust = 0 |             adjust = 0 | ||||||
|             outfile = os.path.join(self.build_dir, script) |             outfile = os.path.join(self.build_dir, os.path.basename(script)) | ||||||
| 
 | 
 | ||||||
|             if not self.force and not newer(script, outfile): |             if not self.force and not newer(script, outfile): | ||||||
|                 self.announce("not copying %s (output up-to-date)" % script) |                 self.announce("not copying %s (output up-to-date)" % script) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Greg Ward
						Greg Ward