diff options
author | Florent Villard <warly@mandriva.com> | 2006-10-12 08:49:19 +0000 |
---|---|---|
committer | Florent Villard <warly@mandriva.com> | 2006-10-12 08:49:19 +0000 |
commit | 0157f0061990ad835ecbccb313a23f7e641fe098 (patch) | |
tree | 63260b685b168529e1a5b151ddc0edb49275b56b /lib/Youri/Upload | |
parent | 36b8d5cf56663a7c8427492fe041dc669ffd6e96 (diff) | |
download | mga-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.pm | 2 |
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>) { |