Merge pull request #467 from czurnieden/change_helper_pl

Changed generate_def to use the uncommited file list
This commit is contained in:
Steffen Jaeckel 2019-12-04 11:59:20 +01:00 committed by GitHub
commit 795485bf9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -422,9 +422,8 @@ EOS
}
sub generate_def {
my @files = split /\n/, `git ls-files`;
@files = grep(/\.c/, @files);
@files = map { my $x = $_; $x =~ s/^bn_|\.c$//g; $x; } @files;
my @files = glob '*mp_*.c';
@files = map { my $x = $_; $x =~ s/\.c$//g; $x; } @files;
@files = grep(!/mp_cutoffs/, @files);
my $files = join("\n ", sort(grep(/^mp_/, @files)));