Changeset 293


Ignore:
Timestamp:
Jan 11, 2008, 11:27:11 PM (12 years ago)
Author:
Bruno Cornec
Message:

Attempt to solve gentoo generation with sudo and pb_system

Location:
devel
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r291 r293  
    435435            close(MAKE);
    436436            if ($found == 0) {
    437                 pb_system("sudo \'echo \"$ENV{'PBBUILDDIR'}/portage\" >> /etc/make.conf\'");
     437                pb_system("sudo echo PORTDIR_OVERLAY=\"$ENV{'PBBUILDDIR'}/portage\" >> /etc/make.conf");
    438438            }
    439439            $found = 0;
     
    444444            close(KEYW);
    445445            if ($found == 0) {
    446                 pb_system("sudo \'echo \"portage/pb\" >> /etc/portage/package.keywords\'");
     446                pb_system("sudo echo portage/pb >> /etc/portage/package.keywords");
    447447            }
    448448
     
    784784}
    785785
     786#
     787# Return the list of packages we are working on
     788#
    786789sub pb_get_pkg {
    787790
  • devel/pb/lib/ProjectBuilder/Base.pm

    r291 r293  
    669669print "$cmt... ";
    670670#system("$cmd 2>&1 > $ENV{'PBTMP'}/system.log");
    671 system("$cmd");
     671system($cmd);
    672672if ($? == -1) {
    673673    print "failed to execute ($cmd) : $!\n";
  • devel/pbconf/pb.pb

    r291 r293  
    1414# Packager label
    1515#
    16 packager pb = "Bruno Cornec <bruno@project-builder.org>"
     16packager pb = Bruno Cornec <bruno@project-builder.org>
    1717
    1818#
Note: See TracChangeset for help on using the changeset viewer.