Changeset 108 in ProjectBuilder for devel/pb/lib/ProjectBuilder/Distribution.pm


Ignore:
Timestamp:
Sep 6, 2007, 2:18:18 AM (17 years ago)
Author:
Bruno Cornec
Message:

Lots of changes to prepare the dev of the VMs support.
No more global variables
Support $ENV{'HOME'} in pbrc for pbrc keyword (allows portability across accounts and share of .pbrc)
Fixes on pb_cms_export for SVN in order to be called externally
pn_env_init retunrs now a lot of params in a list
pb_get_pkg needs params and is simplified by consequence
pbinit is called with a simple system. pb_system has isues with cascading stdout/stderr redirections
pb_send2ssh now supports sending to VM + launch of a pbscript if it exists and it should bring back packages from VM in the future and it now supports more parameters.

File:
1 edited

Legend:

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

    r74 r108  
    194194        my $found = 0;
    195195        my $ptr = $distro_similar{$d};
    196         print $LOG "amb: ".Dumper($ptr)."\n" if ($debug >= 1);
     196        #print $LOG "amb: ".Dumper($ptr)."\n" if ($debug >= 1);
    197197        $release = "unknown";
    198198        foreach my $dd (@$ptr) {
    199             print $LOG "check $dd\n" if ($debug >= 1);
     199            #print $LOG "check $dd\n" if ($debug >= 1);
    200200            # Try to check pattern
    201201            if (defined $distro_match{$dd}) {
    202                 print $LOG "cmp: $distro_match{$dd} - vs - $tmp\n" if ($debug >= 1);
     202                #print $LOG "cmp: $distro_match{$dd} - vs - $tmp\n" if ($debug >= 1);
    203203                ($release) = $tmp =~ m/$distro_match{$dd}/m;
    204204                if ((defined $release) && ($release ne "unknown")) {
Note: See TracChangeset for help on using the changeset viewer.