Changeset 291 for devel/pb/bin/pb


Ignore:
Timestamp:
Dec 20, 2007, 11:10:49 AM (12 years ago)
Author:
bruno
Message:
  • Removes AppConfig? dependency by using just a perl regexp instead.
  • Interface to the version field has also changed
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r290 r291  
    1414use Data::Dumper;
    1515use English;
    16 use AppConfig qw(:argcount :expand);
    1716use File::Basename;
    1817use File::Copy;
     
    401400            foreach my $f (@specfile) {
    402401                if ($f =~ /\.spec$/) {
    403                     pb_system("rpmbuild --define \"packager $pbpackager\" --define \"_topdir $ENV{'PBBUILDDIR'}\" -ba $f","Building package with $f under $ENV{'PBBUILDDIR'}");
     402                    pb_system("rpmbuild --define \'packager $pbpackager\' --define \"_topdir $ENV{'PBBUILDDIR'}\" -ba $f","Building package with $f under $ENV{'PBBUILDDIR'}");
    404403                    last;
    405404                }
     
    569568            # This is a test pkg => target dir is under test
    570569            $tdir .= "/test";
     570        }
    571571    } else {
    572572        return;
Note: See TracChangeset for help on using the changeset viewer.