summaryrefslogtreecommitdiff
path: root/source4/script
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-10-12 13:31:34 +1100
committerAndrew Tridgell <tridge@samba.org>2009-10-12 13:31:34 +1100
commit2b9818ce0fe5ab4b27972b154981cf60ff3acc78 (patch)
treee06f91b78c02275a2267f9849a59462dbea3b96f /source4/script
parent0c0eb14767f4e77780a531ff2873dcad9204a16a (diff)
downloadsamba-2b9818ce0fe5ab4b27972b154981cf60ff3acc78.tar.gz
samba-2b9818ce0fe5ab4b27972b154981cf60ff3acc78.tar.bz2
samba-2b9818ce0fe5ab4b27972b154981cf60ff3acc78.zip
scripts: handle non-C files in minimal_includes.pl
Diffstat (limited to 'source4/script')
-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";