aboutsummaryrefslogtreecommitdiffstats
path: root/URPM
diff options
context:
space:
mode:
Diffstat (limited to 'URPM')
-rw-r--r--URPM/Build.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM/Build.pm b/URPM/Build.pm
index 3ac41a8..6c6350c 100644
--- a/URPM/Build.pm
+++ b/URPM/Build.pm
@@ -514,7 +514,7 @@ sub make_delta_rpm ($$) {
@_ == 2 or return 0;
-e $_[0] && -e $_[1] && -x $MAKEDELTARPM or return 0;
my @id;
- my $urpm = new URPM;
+ my $urpm = URPM->new;
foreach my $i (0, 1) {
($id[$i]) = $urpm->parse_rpm($_[$i]);
defined $id[$i] or return 0;