mirdeep2 package: make sure bins are executable (#10515)
This commit is contained in:
		 Justin Stanley
					Justin Stanley
				
			
				
					committed by
					
						 Peter Scheibel
						Peter Scheibel
					
				
			
			
				
	
			
			
			 Peter Scheibel
						Peter Scheibel
					
				
			
						parent
						
							570af0c313
						
					
				
				
					commit
					ef89ae03bc
				
			| @@ -4,6 +4,7 @@ | ||||
| # SPDX-License-Identifier: (Apache-2.0 OR MIT) | ||||
|  | ||||
| from spack import * | ||||
| from os import chmod | ||||
| import glob | ||||
|  | ||||
|  | ||||
| @@ -31,6 +32,7 @@ def patch(self): | ||||
|         with working_dir('src'): | ||||
|             files = glob.iglob("*.pl") | ||||
|             for file in files: | ||||
|                 chmod(file, 0o755) | ||||
|                 change = FileFilter(file) | ||||
|                 change.filter('usr/bin/perl', 'usr/bin/env perl') | ||||
|                 change.filter('perl -W', 'perl') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user