gapfiller: traverse subdirectories in patch (#14375)

* gapfiller: traverse subdirectories in patch

* gapfiller: revert glob function change

* gapfiller: use more precise glob
This commit is contained in:
Justin S 2020-01-14 17:22:49 -06:00 committed by Adam J. Stewart
parent a18ab8f765
commit 30694aa501

View File

@ -33,7 +33,7 @@ def url_for_version(self, version):
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')