From fa13631fdb4e23bd15ff42232596c3509ef61c86 Mon Sep 17 00:00:00 2001 From: elliott_c Date: Fri, 1 Aug 2003 11:39:06 +0000 Subject: ChangeLogTag: Fri Aug 1 06:37:39 2003 Chad Elliott --- bin/MakeProjectCreator/modules/ProjectCreator.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/MakeProjectCreator/modules/ProjectCreator.pm b/bin/MakeProjectCreator/modules/ProjectCreator.pm index 1cbb06199ba..8318c0f8b28 100644 --- a/bin/MakeProjectCreator/modules/ProjectCreator.pm +++ b/bin/MakeProjectCreator/modules/ProjectCreator.pm @@ -1153,7 +1153,7 @@ sub generate_default_pch_filenames { my($matching) = undef; foreach my $file (@$files) { foreach my $ext (@{$self->{'valid_components'}->{'header_files'}}) { - if ($file =~ /(.*_pch$ext)/) { + if ($file =~ /(.*_pch$ext)$/) { $self->process_assignment('pch_header', $1); ++$count; if ($file =~ /$pname/) { @@ -1173,7 +1173,7 @@ sub generate_default_pch_filenames { my($matching) = undef; foreach my $file (@$files) { foreach my $ext (@{$self->{'valid_components'}->{'source_files'}}) { - if ($file =~ /(.*_pch$ext)/) { + if ($file =~ /(.*_pch$ext)$/) { $self->process_assignment('pch_source', $1); ++$count; if ($file =~ /$pname/) { -- cgit v1.2.1