Changeset 1401 in ProjectBuilder
- Timestamp:
- Feb 3, 2012, 12:17:01 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/bin/pb
r1393 r1401 53 53 my $pbrev; # Global REVISION variable 54 54 my $pbaccount; # Login to use to connect to the VM/RM 55 my $pbtarget ;# Target os-ver-arch you want to build for55 my $pbtarget = undef; # Target os-ver-arch you want to build for 56 56 my $pbport; # Port to use to connect to the VM/RM 57 57 my $newver; # New version to create … … 79 79 =head1 SYNOPSIS 80 80 81 pb [-vhSq][-r pbroot][-p project][[-s script -a account -P port][-t os-ver-arch][-m os-ver-arch[,...]]][-g][-i iso] <action> [<pkg1> ...]82 83 pb [--verbose][--help][--man][--quiet][--snapshot][--revision pbroot][--project project][[--script script --account account --port port][--target os-ver-arch][--machine os-ver-arch[,...]]][--nographic][--iso iso][--rebuild] <action> [<pkg1> ...]81 pb [-vhSq][-r pbroot][-p project][[-s script -a account -P port][-t [os-ver-arch]][-m os-ver-arch[,...]]][-g][-i iso] <action> [<pkg1> ...] 82 83 pb [--verbose][--help][--man][--quiet][--snapshot][--revision pbroot][--project project][[--script script --account account --port port][--target [os-ver-arch]][--machine os-ver-arch[,...]]][--nographic][--iso iso][--rebuild] <action> [<pkg1> ...] 84 84 85 85 =head1 OPTIONS … … 483 483 "script|s=s" => \$opts{'s'}, 484 484 "machines|mock|m=s" => \$opts{'m'}, 485 "target|t =s" => \$opts{'t'},485 "target|t:s" => \$opts{'t'}, 486 486 "nographic|g" => \$opts{'g'}, 487 487 "port|P=i" => \$opts{'P'}, … … 544 544 if (defined $opts{'t'}) { 545 545 $pbtarget = $opts{'t'}; 546 # GetOptions may create an empty string, we use internally undef for that type of target 547 if ($pbtarget eq "") { 548 $pbtarget = undef; 549 } 546 550 } 547 551 … … 863 867 # We want to at least build for the underlying distro 864 868 # except if a target was given, in which case we only build for it 869 # if -t was passed without target then build for the native distro. 865 870 my $pbos = pb_distro_get_context($pbtarget); 866 871 my $tmpl = pb_get_distros($pbos,$pbtarget);
Note:
See TracChangeset
for help on using the changeset viewer.