Skip to content
Snippets Groups Projects
Commit ef89ae03 authored by Justin Stanley's avatar Justin Stanley Committed by Peter Scheibel
Browse files

mirdeep2 package: make sure bins are executable (#10515)

parent 570af0c3
Branches
Tags
No related merge requests found
......@@ -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')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment