mirror of
https://github.com/Project-OSS-Revival/alien.git
synced 2026-04-24 14:00:17 +00:00
rpms can be built now.
Call init first because it may set up variables that are used by scan.
This commit is contained in:
@@ -141,8 +141,8 @@ sub new {
|
|||||||
my $proto = shift;
|
my $proto = shift;
|
||||||
my $class = ref($proto) || $proto;
|
my $class = ref($proto) || $proto;
|
||||||
my $this=bless ({}, $class);
|
my $this=bless ({}, $class);
|
||||||
$this->$_(shift) while $_=shift; # run named parameters as methods
|
|
||||||
$this->init;
|
$this->init;
|
||||||
|
$this->$_(shift) while $_=shift; # run named parameters as methods
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user