Changeset 313 for devel/pb/bin/pb


Ignore:
Timestamp:
02/09/08 02:48:12 (5 years ago)
Author:
bruno
Message:

WARNING: Modifications in progress. DOES NOT WORK
Addition of a different origin for pbconf WIP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r310 r313  
    106106# And get global params 
    107107if (defined $opts{'p'}) { 
    108     ($ENV{'PBPROJ'},$debug,$LOG, $pbrc, $filteredfiles, $supfiles, $defpkgdir, $extpkgdir)  
     108    ($debug,$LOG, $pbrc, $filteredfiles, $supfiles, $defpkgdir, $extpkgdir)  
    109109    = pb_env_init($opts{'p'},$pbinit); 
    110110} else { 
    111     ($ENV{'PBPROJ'},$debug,$LOG, $pbrc, $filteredfiles, $supfiles, $defpkgdir, $extpkgdir)  
     111    ($debug,$LOG, $pbrc, $filteredfiles, $supfiles, $defpkgdir, $extpkgdir)  
    112112    = pb_env_init(undef,$pbinit); 
    113113} 
     
    164164    my $cms=pb_cms_init($ENV{'PBPROJ'}); 
    165165 
    166     my ($pkgv, $pkgt) = pb_conf_read("$ENV{'PBCONF'}/$ENV{'PBPROJ'}.pb","pkgver","pkgtag"); 
     166    my ($pkgv, $pkgt) = pb_conf_get_if("pkgver","pkgtag"); 
    167167 
    168168    # declare packager for filtering 
     
    985985    print "pb (aka project-builder) Version $projectbuilderver-$projectbuilderrev\n"; 
    986986    print "\n"; 
    987     print "Syntax: pb [-vhqt][-r pbroot][-p project][[-s script -a account -P port] -m \"mach-1[,...]\"][-i iso] <action> [<pkg1>...]\n"; 
     987    print "Syntax: pb [-vhqt][-r pbroot][-p project][[-s script -a account -P port] -m \"mach-1[,...]\"][-i iso] <action> [<pkg1> ...]\n"; 
    988988    print "\n"; 
    989989    print "-h: This help file\n"; 
     
    10051005    print "            to connect on the related VMs.\n"; 
    10061006    print "\n"; 
    1007     print "-P port:    Number of the port to use\n"; 
     1007    print "-P port:    Port number to use\n"; 
    10081008    print "            to connect on the related VMs.\n"; 
    10091009    print "\n"; 
Note: See TracChangeset for help on using the changeset viewer.