Changeset 1459


Ignore:
Timestamp:
Apr 6, 2012, 2:47:21 PM (7 years ago)
Author:
bruno
Message:
  • Fix an error with extdir attribute management when dealing with non-test version (an additionl space was generated, which is now suppressed)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r1440 r1459  
    12511251
    12521252        my $vertag = $pkg->{$pbpkg};
     1253        pb_log(2,"Vertag: $vertag\n");
    12531254        # get the version of the current package - maybe different
    12541255        ($pbver,$pbtag) = split(/-/,$vertag);
     
    16791680            my $vertag = $pkg->{$pbpkg};
    16801681            # get the version of the current package - maybe different
     1682            pb_log(2,"Vertag: $vertag\n");
    16811683            ($pbver,$pbtag) = split(/-/,$vertag);
    16821684
     
    30693071            my $vertag2 = $pkg->{"project-builder"};
    30703072            # get the version of the current package - maybe different
     3073            pb_log(2,"Vertag1: $vertag1\n");
     3074            pb_log(2,"Vertag2: $vertag2\n");
    30713075            my ($pbver1,$tmp1) = split(/-/,$vertag1);
    30723076            my ($pbver2,$tmp2) = split(/-/,$vertag2);
     
    40774081    foreach my $k (keys %$ed) {
    40784082        $pbextdir = $ed->{$k};
    4079     }
    4080     pb_log(2,"pbextdir: $pbextdir\n");
     4083        # In case we have an empty field, empty it completely
     4084        pb_log(2,"pbextdir: ***$pbextdir***\n");
     4085        $pbextdir =~ s/^\s*$//;
     4086    }
     4087    pb_log(2,"pbextdir: ***$pbextdir***\n");
    40814088    return($pbextdir);
    40824089}
Note: See TracChangeset for help on using the changeset viewer.