summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJustin S <3630356+codeandkey@users.noreply.github.com>2020-01-14 17:22:49 -0600
committerAdam J. Stewart <ajstewart426@gmail.com>2020-01-14 17:22:49 -0600
commit30694aa501e0b36daac89275a7910fb89f4b1135 (patch)
treeb9bec33c4540c7b30c6a49a6c056256e0e78ffa7 /var
parenta18ab8f765429f1ee505bb08155a7d7401901f9b (diff)
downloadspack-30694aa501e0b36daac89275a7910fb89f4b1135.tar.gz
spack-30694aa501e0b36daac89275a7910fb89f4b1135.tar.bz2
spack-30694aa501e0b36daac89275a7910fb89f4b1135.tar.xz
spack-30694aa501e0b36daac89275a7910fb89f4b1135.zip
gapfiller: traverse subdirectories in patch (#14375)
* gapfiller: traverse subdirectories in patch * gapfiller: revert glob function change * gapfiller: use more precise glob
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/gapfiller/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/gapfiller/package.py b/var/spack/repos/builtin/packages/gapfiller/package.py
index 442658903f..c2fa5b025e 100644
--- a/var/spack/repos/builtin/packages/gapfiller/package.py
+++ b/var/spack/repos/builtin/packages/gapfiller/package.py
@@ -33,7 +33,7 @@ class Gapfiller(Package):
def patch(self):
with working_dir('.'):
- files = glob.iglob("*.pl")
+ files = glob.glob("*.pl") + glob.glob('bwa/*.pl')
for file in files:
change = FileFilter(file)
change.filter('usr/bin/perl', 'usr/bin/env perl')