Changeset 2108 in ProjectBuilder


Ignore:
Timestamp:
Jul 21, 2016, 3:51:57 AM (5 years ago)
Author:
Bruno Cornec
Message:

Fix Release put/get with correct dirs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r2107 r2108  
    27282728        my $projcomponent = pb_get_debpc($pbos2);
    27292729        for my $f ("dists/$pbos2->{'version'}/$projcomponent/binary-$debarch/Release","dists/$pbos2->{'version'}/$projcomponent/source/Release","dists/$pbos2->{'version'}/Release") {
    2730             pb_system("cd $ENV{'PBBUILDDIR'} ; $cpcmd $cptarget/$f . 2> /dev/null","Getting deb $f file from $cptarget");
     2730            my $debdir = dirname($cptarget);
     2731            pb_system("cd $ENV{'PBBUILDDIR'} ; $cpcmd $debdir/$f . 2> /dev/null","Getting deb $f file from $debdir");
    27312732            pb_sign_file("$ENV{'PBBUILDDIR'}/Release");
    2732             pb_system("cd $ENV{'PBBUILDDIR'} ; $cpcmd Release.gpg $cptarget/$f 2> /dev/null","Putting back deb $f file to $cptarget");
     2733            pb_system("$cpcmd $ENV{'PBBUILDDIR'}/Release.gpg $debdir/$f.gpg 2> /dev/null","Putting deb $f.gpg file to $debdir");
    27332734        }
    27342735    }
Note: See TracChangeset for help on using the changeset viewer.