From ef89ae03bcc44e04e705c3de22c6a6898676489c Mon Sep 17 00:00:00 2001 From: Justin Stanley Date: Thu, 7 Feb 2019 13:05:19 -0600 Subject: mirdeep2 package: make sure bins are executable (#10515) --- var/spack/repos/builtin/packages/mirdeep2/package.py | 2 ++ 1 file changed, 2 insertions(+) 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') -- cgit v1.2.3-70-g09d2