diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-10-12 13:31:34 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-10-12 13:31:34 +1100 |
commit | 2b9818ce0fe5ab4b27972b154981cf60ff3acc78 (patch) | |
tree | e06f91b78c02275a2267f9849a59462dbea3b96f /source4 | |
parent | 0c0eb14767f4e77780a531ff2873dcad9204a16a (diff) | |
download | samba-2b9818ce0fe5ab4b27972b154981cf60ff3acc78.tar.gz samba-2b9818ce0fe5ab4b27972b154981cf60ff3acc78.tar.bz2 samba-2b9818ce0fe5ab4b27972b154981cf60ff3acc78.zip |
scripts: handle non-C files in minimal_includes.pl
Diffstat (limited to 'source4')
-rwxr-xr-x | source4/script/minimal_includes.pl | 2 |
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"; |