Changeset 698


Ignore:
Timestamp:
02/18/09 13:47:34 (4 years ago)
Author:
bruno
Message:
  • Tries to avoid an error msg on disconnect at end of announce by finishing session before
  • Fix debian build deps computation (checked on lenny)
Location:
devel
Files:
2 edited

Legend:

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

    r696 r698  
    412412    pb_log(2,"found deps: $_\n"); 
    413413    s/$regexp/$1/i; 
    414     # Remove conditions in the middle and at the end 
     414    # Remove conditions in the middle and at the end for deb 
     415    s/\(\s*[><=]+.*\)\s*,/,/g; 
     416    s/\(\s*[><=]+.*$//g; 
     417    # Same for rpm 
    415418    s/[><=]+.*,/,/g; 
    416419    s/[><=]+.*$//g; 
  • devel/pb/bin/pb

    r697 r698  
    23462346                    || die "Unable to insert into $db"; 
    23472347    $sth->execute($pbdate, $announce); 
     2348    $sth->finish(); 
    23482349    $dbh->disconnect; 
    23492350 
Note: See TracChangeset for help on using the changeset viewer.