Changeset 268 for devel/pb/bin/pb


Ignore:
Timestamp:
Oct 30, 2007, 1:56:26 AM (12 years ago)
Author:
Bruno Cornec
Message:
  • Some updates for Ubuntu 7.10 in VM setup
  • attempt to fix date issue
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r266 r268  
    701701    print SCRIPT "mv .pbrc \$HOME\n";
    702702    print SCRIPT "cd ..\n";
    703     # Force new date to be in the future compared to the date of the tar file by removing 1 minute
     703    # Force new date to be in the future compared to the date of the tar file by adding 1 minute
    704704    my @date=(localtime->sec(), localtime->min(), localtime->hour(), localtime->mday(), localtime->mon(), localtime->year(), localtime->wday(), localtime->yday(), localtime->isdst());
    705     $date[1]--;
     705    $date[1]++;
    706706    my $upddate = strftime("%m%d%H%M%Y", @date);
    707707    print SCRIPT "echo Setting up date on $vmntp...\n";
     708    # Or use ntpdate if available
    708709    print SCRIPT "sudo date $upddate\n";
    709710    print SCRIPT "export PBROOT=\`pwd\`\n";
Note: See TracChangeset for help on using the changeset viewer.