Changeset 1716 in ProjectBuilder for devel/pb


Ignore:
Timestamp:
Mar 12, 2013, 5:24:42 AM (11 years ago)
Author:
Bruno Cornec
Message:
  • Fix an error in VMbuild where ' were misplaced leading to the script being printed and not executed
  • Document ossudoersmode for pb.conf
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r1715 r1716  
    28322832
    28332833    print SCRIPT "echo ... Execution needed\n";
    2834     print SCRIPT "echo '==== Start of script $$ for $vtype $v =====\n";
     2834    print SCRIPT "echo ==== Start of script $$ for $vtype $v =====\n";
    28352835    print SCRIPT "# This is in directory delivery\n";
    28362836    print SCRIPT "# Setup the variables required for building\n";
     
    28562856    print SCRIPT "echo setting up date with $ntpline\n";
    28572857    print SCRIPT "$ntpline\n";
    2858     print SCRIPT 'if [ $? -ne 0 ]; then\n';
     2858    print SCRIPT "if [ \$\? -ne 0 ]; then\n";
    28592859    # Force if bad status a trick using date
    28602860    $ntpline = pb_date2v($vtype,$pbos, 1);
     
    29122912    }
    29132913
    2914     print SCRIPT "echo '==== End of script $$ for $vtype $v =====\n";
     2914    print SCRIPT "echo ==== End of script $$ for $vtype $v =====\n";
    29152915    close(SCRIPT);
    29162916    chmod 0755,"$ENV{'PBDESTDIR'}/pbscript.$$";
Note: See TracChangeset for help on using the changeset viewer.