Changeset 1653 in ProjectBuilder for devel/pb-modules/lib/ProjectBuilder/Distribution.pm
- Timestamp:
- Oct 7, 2012, 8:20:14 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-modules/lib/ProjectBuilder/Distribution.pm
r1652 r1653 450 450 next if $p =~ /^\s*$/o; 451 451 if ($pbos->{'type'} eq "rpm") { 452 my $res = pb_system("rpm -q --whatprovides --quiet $p","Looking for $p","mayfail"); 452 my $rpmcmd = "rpm -q --whatprovides --quiet"; 453 # whatprovides doesn't work for RH6.2 454 $rpmcmd = "rpm -q --quiet" if (($pbos->{'name'} eq "redhat") && ($pbos->{'version'} =~ /6/)); 455 my $res = pb_system("$rpmcmd $p","Looking for $p","mayfail"); 453 456 next if ($res eq 0); 454 457 pb_log(1, "INFO: missing dependency $p\n");
Note:
See TracChangeset
for help on using the changeset viewer.