Changeset 527 for devel/pb/bin/pb


Ignore:
Timestamp:
Aug 8, 2008, 8:57:39 PM (11 years ago)
Author:
Bruno Cornec
Message:
  • Fix CVS export functin to also use tags passed in param.
  • Backport build fixes from 0.9.3
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r517 r527  
    15471547    my ($pbac) = pb_conf_get($vtype."login");
    15481548    my ($key,$zero0,$zero1,$zero2);
    1549     my ($vmexist,$vmpid);
     1549    my ($vmexist,$vmpid,$ntps);
    15501550
    15511551    if ($vtype eq "vm") {
     
    15551555        my ($vmhost,$vmport,$vmntp) = pb_conf_get("vmhost","vmport","vmntp");
    15561556        my $nport = $vmport->{$ENV{'PBPROJ'}};
     1557        $ntps = $vmntp->{$ENV{'PBPROJ'}};
    15571558        $nport = "$pbport" if (defined $pbport);
    15581559   
     
    16201621
    16211622# Sync date
    1622 pb_system("/usr/sbin/ntpdate \$vmntp->{'PBPRROJ'}","Syncing date to \$vmntp{'PBPRROJ'}");
     1623pb_system("/usr/sbin/ntpdate $ntps","Syncing date to $ntps");
    16231624
    16241625EOF
     
    18281829    pb_system("$insfm","$cmtfm");
    18291830    pb_system("$insfb","$cmtfb");
     1831    pb_system("$insms","$cmtms");
    18301832    pb_system("export TERM=linux ; liste=\"\" ; for i in make wget patch sudo perl-DateManip perl-File-HomeDir perl-Mail-Sendmail perl-Locale-gettext xntp; do rpm -q \$i 1> /dev/null 2> /dev/null ; if [ \$\? != 0 ]; then liste=\"\$liste \$i\"; fi; done; echo \"Liste: \$liste\" ; if [ \"\$liste\" != \"\" ]; then yast2 -i \$liste ; fi","$cmtall");
    18311833} elsif ( $dfam eq "md" ) {
Note: See TracChangeset for help on using the changeset viewer.