diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-10-21 21:43:39 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:45:08 -0500 |
commit | c396fec407a46357cc534ee2334f0306c51a7245 (patch) | |
tree | 0031b54361a2a16508dc171ddfd058b2fba9a002 /source4/build/smb_build/env.pm | |
parent | e0370ff3bc4df9812cae058101c44879b127f997 (diff) | |
download | samba-c396fec407a46357cc534ee2334f0306c51a7245.tar.gz samba-c396fec407a46357cc534ee2334f0306c51a7245.tar.bz2 samba-c396fec407a46357cc534ee2334f0306c51a7245.zip |
r11252: Make makefile.pm OO and descend from env
(This used to be commit c53b32e0932ef6c048f8aec23ec6df2fe66a7887)
Diffstat (limited to 'source4/build/smb_build/env.pm')
-rw-r--r-- | source4/build/smb_build/env.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/build/smb_build/env.pm b/source4/build/smb_build/env.pm index 85bd33c60c..62569efab3 100644 --- a/source4/build/smb_build/env.pm +++ b/source4/build/smb_build/env.pm @@ -12,10 +12,12 @@ use smb_build::input; use strict; -sub new +sub new($$) { + my ($name, $config) = @_; my $self = { }; - bless $self; + bless $self, $name; + $self->set_config($config); return $self; } |