summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/mirdeep2/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/mirdeep2/package.py b/var/spack/repos/builtin/packages/mirdeep2/package.py
index 1b62e56e20..4fde162ae9 100644
--- a/var/spack/repos/builtin/packages/mirdeep2/package.py
+++ b/var/spack/repos/builtin/packages/mirdeep2/package.py
@@ -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 @@ class Mirdeep2(Package):
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')