mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	[Bug #475009] Tighten the pattern for the first line, so we don't
adjust it when a versioned interpreter is supplied (#!.../python2 ...)
This commit is contained in:
		
							parent
							
								
									35974fbf31
								
							
						
					
					
						commit
						3ecc1ce529
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -12,7 +12,7 @@ | |||
| from distutils.util import convert_path | ||||
| 
 | ||||
| # check if Python is called on the first line with this expression | ||||
| first_line_re = re.compile(r'^#!.*python(\s+.*)?') | ||||
| first_line_re = re.compile(r'^#!.*python(\s+.*)?$') | ||||
| 
 | ||||
| class build_scripts (Command): | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andrew M. Kuchling
						Andrew M. Kuchling