summaryrefslogtreecommitdiff
path: root/source4/script/minimal_includes.pl
diff options
context:
space:
mode:
Diffstat (limited to 'source4/script/minimal_includes.pl')
-rwxr-xr-xsource4/script/minimal_includes.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/script/minimal_includes.pl b/source4/script/minimal_includes.pl
index 2bcbd1152a..d64409ed13 100755
--- a/source4/script/minimal_includes.pl
+++ b/source4/script/minimal_includes.pl
@@ -43,7 +43,7 @@ sub test_compile($)
{
my $fname = shift;
my $obj;
- if ($fname =~ s/(.*)\.c$/$1.o/) {
+ if ($fname =~ s/(.*)\..*$/$1.o/) {
$obj = "$1.o";
} else {
return "NOT A C FILE";