Changeset 2636 in ProjectBuilder


Ignore:
Timestamp:
Aug 19, 2020, 2:08:39 AM (4 years ago)
Author:
Bruno Cornec
Message:

Fix #187 by protecting package requirements which may contain parenthesis e.g.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb-modules/lib/ProjectBuilder/Distribution.pm

    r2632 r2636  
    560560        # whatprovides doesn't work for RH6.2
    561561        $rpmcmd = "rpm -q --quiet" if (($pbos->{'name'} eq "redhat") && ($pbos->{'version'} =~ /6/));
    562         my $res = pb_system("$rpmcmd $p","Looking for $p","mayfail");
     562        my $res = pb_system("$rpmcmd '".$p."'","Looking for $p","mayfail");
    563563        next if ($res eq 0);
    564564        pb_log(1, "INFO: missing dependency $p\n");
Note: See TracChangeset for help on using the changeset viewer.