Changeset 30 in ProjectBuilder for devel/pb/bin
- Timestamp:
- Aug 2, 2007, 12:39:27 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/bin/pb.pl
r29 r30 119 119 my $dir = $defpkgdir{$pbpkg}; 120 120 $dir = $extpkgdir{$pbpkg} if (not defined $dir); 121 pbsystem("$ENV{'PBCMSEXP'} $option $ENV{'PBROOT'}/$dir $dest 1>/dev/null", "Exporting $ENV{'PBROOT'}/$dir ...");121 pbsystem("$ENV{'PBCMSEXP'} $option $ENV{'PBROOT'}/$dir $dest 1>/dev/null", "Exporting $ENV{'PBROOT'}/$dir"); 122 122 123 123 # Creates a REVISION file … … 127 127 128 128 # Extract cms log history and store it 129 pbsystem("$ENV{'PBCMSLOG'} $option $ENV{'PBROOT'}/$dir > $dest/$ENV{'PBCMSLOGFILE'}", "Extracting log info ...");129 pbsystem("$ENV{'PBCMSLOG'} $option $ENV{'PBROOT'}/$dir > $dest/$ENV{'PBCMSLOGFILE'}", "Extracting log info"); 130 130 131 131 my %build; … … 249 249 chdir "$ENV{'PBDESTDIR'}"; 250 250 # Possibility to look at PBSRC to guess more the filename 251 pbsystem("tar cfphz $pbpkg-$pbver.tar.gz $pbpkg-$pbver","Creating $pbpkg tar files (gzip...");251 pbsystem("tar cfphz $pbpkg-$pbver.tar.gz $pbpkg-$pbver","Creating $pbpkg tar files compressed"); 252 252 if ($? == -1) { 253 253 print $LOG "failed to execute: $!\n" if ($debug >= 0); … … 310 310 foreach my $f (@specfile) { 311 311 if ($f =~ /\.spec$/) { 312 pbsystem("rpmbuild -ba $f","Building package with $f ...");312 pbsystem("rpmbuild -ba $f","Building package with $f"); 313 313 last; 314 314 } … … 395 395 my @files; 396 396 397 pbsystem("tar xfz $src $dir >/dev/null","Extracting build files ...");397 pbsystem("tar xfz $src $dir >/dev/null","Extracting build files"); 398 398 opendir(DIR,"$dir") || die "Unable to open directory $dir"; 399 399 foreach my $f (readdir(DIR)) {
Note:
See TracChangeset
for help on using the changeset viewer.