Changeset 293 for devel/pb/bin/pb


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

Attempt to solve gentoo generation with sudo and pb_system

File:
1 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
Note: See TracChangeset for help on using the changeset viewer.