Changeset 285 in ProjectBuilder for devel/pb/bin
- Timestamp:
- Nov 15, 2007, 12:04:08 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/bin/pb
r283 r285 204 204 pb_cms_export($cms,$pbdatecvs,"$ENV{'PBROOT'}/$dir",$dest); 205 205 206 # Get project info on authors and log file 207 my $chglog = "$ENV{'PBCONF'}/$pbpkg/pbcl"; 208 $chglog = "$ENV{'PBCONF'}/pbcl" if (! -f $chglog); 209 $chglog = undef if (! -f $chglog); 210 211 my $authors = "$ENV{'PBCONF'}/$pbpkg/pbauthors"; 212 $authors = "$ENV{'PBCONF'}/pbauthors" if (! -f $authors); 213 $authors = "/dev/null" if (! -f $authors); 214 206 215 # Extract cms log history and store it 207 pb_cms_log($cms,"$ENV{'PBROOT'}/$dir","$dest/$ENV{'PBCMSLOGFILE'}"); 216 if ((defined $chglog) && (! -f "$dest/NEWS")) { 217 print $LOG "Generating NEWS file from $chglog\n"; 218 copy($chglog,"$dest/NEWS") || die "Unable to create $dest/NEWS"; 219 } 220 pb_cms_log($cms,"$ENV{'PBROOT'}/$dir",$dest,$chglog,$authors); 208 221 209 222 my %build; … … 269 282 if (defined $ptr) { 270 283 foreach my $f (values %bfiles) { 271 pb_filter_file_pb("$ENV{'PBROOT'}/$f",$ptr,"$dest/pbconf/$ddir-$dver/".basename($f),$dtype,$pbsuf,$pbpkg,$pbver,$pbtag,$pbrev,$pbdate,$defpkgdir,$extpkgdir,$pbpackager );284 pb_filter_file_pb("$ENV{'PBROOT'}/$f",$ptr,"$dest/pbconf/$ddir-$dver/".basename($f),$dtype,$pbsuf,$pbpkg,$pbver,$pbtag,$pbrev,$pbdate,$defpkgdir,$extpkgdir,$pbpackager,$chglog); 272 285 } 273 286 } … … 364 377 365 378 my $src="$ENV{'PBDESTDIR'}/$pbpkg-$pbver.tar.gz"; 366 # Suse 10.0 forces tar.bz2 usage :-(367 #if (($ddir eq "suse") && ($dver eq "10.0")) {368 # print "SuSE 10.0 needs bz2 type of packages so recompressing...\n";369 # my $newsrc="$ENV{'PBDESTDIR'}/$pbpkg-$pbver.tar.bz2";370 # system "gzip -cd $src | bzip2 -c6 > $newsrc";371 # $src = $newsrc;372 #}373 379 print $LOG "Source file: $src\n" if ($debug >= 0); 374 380 … … 919 925 print "\n"; 920 926 print "\tscript2vm: Launch one virtual machine if needed \n"; 921 print "\t 927 print "\t and executes a script on it \n"; 922 928 print "\n"; 923 929 print "\tnewvm: Create a new virtual machine\n";
Note:
See TracChangeset
for help on using the changeset viewer.