diff options
author | Justin Stanley <molecuul@users.noreply.github.com> | 2019-02-07 13:05:19 -0600 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2019-02-07 13:05:19 -0600 |
commit | ef89ae03bcc44e04e705c3de22c6a6898676489c (patch) | |
tree | 405605eaf50c23e35f8cb7594b7f973f1009a992 /var | |
parent | 570af0c31325d8f999e137750076d4d34298dd9a (diff) | |
download | spack-ef89ae03bcc44e04e705c3de22c6a6898676489c.tar.gz spack-ef89ae03bcc44e04e705c3de22c6a6898676489c.tar.bz2 spack-ef89ae03bcc44e04e705c3de22c6a6898676489c.tar.xz spack-ef89ae03bcc44e04e705c3de22c6a6898676489c.zip |
mirdeep2 package: make sure bins are executable (#10515)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/mirdeep2/package.py | 2 |
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') |