Changeset 31 in ProjectBuilder for devel/pb/bin
- Timestamp:
- Aug 9, 2007, 2:34:32 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/bin/pb.pl
r30 r31 250 250 # Possibility to look at PBSRC to guess more the filename 251 251 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); 264 257 } 265 258 } elsif ($action =~ /^build2pkg$/) {
Note:
See TracChangeset
for help on using the changeset viewer.