From 0157f0061990ad835ecbccb313a23f7e641fe098 Mon Sep 17 00:00:00 2001 From: Florent Villard Date: Thu, 12 Oct 2006 08:49:19 +0000 Subject: call rpmling with full path --- lib/Youri/Upload/Check/Rpmlint.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Youri/Upload/Check/Rpmlint.pm b/lib/Youri/Upload/Check/Rpmlint.pm index 08d5e56..20e478b 100644 --- a/lib/Youri/Upload/Check/Rpmlint.pm +++ b/lib/Youri/Upload/Check/Rpmlint.pm @@ -31,7 +31,7 @@ sub run { croak "Not a class method" unless ref $self; my $file = $package->get_file; - open my $rpmlint, "rpmlint $file |"; + open my $rpmlint, "/usr/bin/rpmlint $file |"; my $fatal; my $error = "fatal errors detected, upload rejected:\n"; while (<$rpmlint>) { -- cgit v1.2.1