Changeset 31


Ignore:
Timestamp:
Aug 9, 2007, 2:34:32 PM (12 years ago)
Author:
bruno
Message:

Rename projectbuilder to project-builder under pbconf + some improvements to pb.pl

Location:
devel
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb.pl

    r30 r31  
    250250        # Possibility to look at PBSRC to guess more the filename
    251251        pbsystem("tar cfphz $pbpkg-$pbver.tar.gz $pbpkg-$pbver","Creating $pbpkg tar files compressed");
    252         if ($? == -1) {
    253             print $LOG "failed to execute: $!\n" if ($debug >= 0);
    254         } elsif ($? & 127) {
    255             printf $LOG "child died with signal %d, %s coredump\n", ($? & 127),  ($? & 128) ? 'with' : 'without' if ($debug >= 0);
    256         } else {
    257             print $LOG " OK)\n" if ($debug >= 0);
    258             print $LOG "Under $ENV{'PBDESTDIR'}/$pbpkg-$pbver.tar.gz\n" if ($debug >= 0);
    259             # Keep track of what is generated for build2pkg default
    260             open(LAST,"> $ENV{'PBDESTDIR'}/LAST") || die "Unable to create $ENV{'PBDESTDIR'}/LAST";
    261             print LAST "$pbver-$pbtag\n";
    262             close(LAST);
    263         }
     252        print $LOG "Under $ENV{'PBDESTDIR'}/$pbpkg-$pbver.tar.gz\n" if ($debug >= 0);
     253        # Keep track of what is generated for build2pkg default
     254        open(LAST,"> $ENV{'PBDESTDIR'}/LAST") || die "Unable to create $ENV{'PBDESTDIR'}/LAST";
     255        print LAST "$pbver-$pbtag\n";
     256        close(LAST);
    264257    }
    265258} elsif ($action =~ /^build2pkg$/) {
Note: See TracChangeset for help on using the changeset viewer.