Changeset 1606 in ProjectBuilder
- Timestamp:
- May 28, 2012, 3:41:43 AM (12 years ago)
- Location:
- devel
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-modules/etc/pb.conf
r1605 r1606 632 632 pbshowsudo default = false 633 633 634 # Do not stop on errors by default (VE/VM are still broken with it on) 635 pbstoponerr default = false 636 634 637 # How do you want to install pb in your VM/VE (pkg or file) 635 638 pbinstalltype default = pkg -
devel/pb-modules/etc/pb.conf.pod
r1597 r1606 576 576 Example: pbsockscmd default = tsocks 577 577 578 =item B<pbstoponerr> 579 580 Nature: Optional 581 Key: project (as defined in the -p option or PBPROJ environment variable) 582 Value: false (by default), meaning that commands giving errors will not stop execution of the pb job. For quicker error solving, you may want to turn it to true in order to stop at the first error. Be aware that project-builder.org is not robust enough to work fully correctly with this on. Especially some commands may in a justified way error out, and you still want the process to go on. 583 Conffile: home 584 Example: pbstoponerr mondorescue = true 585 586 578 587 =item B<pburl> 579 588 -
devel/pb/bin/pb
r1605 r1606 741 741 # Check for command requirements 742 742 # 743 my ($req,$opt,$pbpara,$pbshowsudo ) = pb_conf_get_if("oscmd","oscmdopt","pbparallel","pbshowsudo");743 my ($req,$opt,$pbpara,$pbshowsudo,$pbstoponerr) = pb_conf_get_if("oscmd","oscmdopt","pbparallel","pbshowsudo","pbstoponerr"); 744 744 pb_check_requirements($req,$opt,$appname); 745 745 746 746 $Global::pb_show_sudo = 1 if ((defined $pbshowsudo) && (defined $pbshowsudo->{$ENV{'PBPROJ'}}) && ($pbshowsudo->{$ENV{'PBPROJ'}} =~ /true/oi)); 747 $Global::pb_stop_on_error = 1 if ((defined $pbstoponerr) && (defined $pbstoponerr->{$ENV{'PBPROJ'}}) && ($pbstoponerr->{$ENV{'PBPROJ'}} =~ /true/oi)); 747 748 748 749 # -
devel/pb/t/pbtest
r1605 r1606 346 346 347 347 # need tobe part of group video for KVM 348 sudocmd "grep -Eq '^video:' /etc/group | grep $PBUSER"348 sudocmd "grep -Eq '^video:' /etc/group" | grep $PBUSER 349 349 if [ $? -ne 0 ]; then 350 350 sudocmd "perl -pi -e 's|^(video:.*)$|$1,$ENV{'PBUSER'}|' /etc/shadow"
Note:
See TracChangeset
for help on using the changeset viewer.