Changeset 219 in ProjectBuilder for 0.8.5/pb/bin/pb


Ignore:
Timestamp:
Oct 15, 2007, 2:09:08 PM (17 years ago)
Author:
Bruno Cornec
Message:

Replace ntpdate by a date call

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 0.8.5/pb/bin/pb

    r218 r219  
    671671    print SCRIPT "mv .pbrc \$HOME\n";
    672672    print SCRIPT "cd ..\n";
    673     print SCRIPT "echo Synchronizing time on $vmntp...\n";
    674     print SCRIPT "sudo ntpdate $vmntp\n";
     673    my $upddate = strftime("%m%d%H%M%Y", @date);
     674    print SCRIPT "echo Setting up date on $vmntp...\n";
     675    print SCRIPT "sudo date $upddate\n";
    675676    print SCRIPT "export PBROOT=\`pwd\`\n";
    676677    print SCRIPT "# Build\n";
Note: See TracChangeset for help on using the changeset viewer.