Changeset 1173 for devel/pb/bin/pb


Ignore:
Timestamp:
Feb 3, 2011, 8:19:00 PM (9 years ago)
Author:
Bruno Cornec
Message:

-Add somr structure creation in case we start from nothing and fix display for deb pkg generation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r1165 r1173  
    727727        die "Unable to get env var PBDESTDIR" if (not defined $ENV{'PBDESTDIR'});
    728728
     729        my $dest = "$ENV{'PBDESTDIR'}/$pbpkg-$pbver";
     730        # Create the structure if needed
     731        pb_mkdir_p($dest);
    729732        # Clean up dest if necessary. The export will recreate it
    730         my $dest = "$ENV{'PBDESTDIR'}/$pbpkg-$pbver";
    731733        pb_rm_rf($dest) if (-d $dest);
    732734
     
    13011303        my $made2 = "";
    13021304        foreach my $f (split(/ /,$made)) {
    1303             $made2 .= "../$f " if ($f =~ /\.changes$/);
     1305            $made2 .= "../$f " if ($f =~ /\.deb$/);
    13041306        }
    13051307        if (-x $chkcmd) {
Note: See TracChangeset for help on using the changeset viewer.