aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Youri/Upload
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2006-10-12 08:49:19 +0000
committerFlorent Villard <warly@mandriva.com>2006-10-12 08:49:19 +0000
commit0157f0061990ad835ecbccb313a23f7e641fe098 (patch)
tree63260b685b168529e1a5b151ddc0edb49275b56b /lib/Youri/Upload
parent36b8d5cf56663a7c8427492fe041dc669ffd6e96 (diff)
downloadmga-youri-core-0157f0061990ad835ecbccb313a23f7e641fe098.tar
mga-youri-core-0157f0061990ad835ecbccb313a23f7e641fe098.tar.gz
mga-youri-core-0157f0061990ad835ecbccb313a23f7e641fe098.tar.bz2
mga-youri-core-0157f0061990ad835ecbccb313a23f7e641fe098.tar.xz
mga-youri-core-0157f0061990ad835ecbccb313a23f7e641fe098.zip
call rpmling with full path
Diffstat (limited to 'lib/Youri/Upload')
-rw-r--r--lib/Youri/Upload/Check/Rpmlint.pm2
1 files changed, 1 insertions, 1 deletions
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>) {