tools/release/Bootstrap/Step/Sign.pm
author dbaron@dbaron.org
Wed, 15 Aug 2007 17:03:29 -0700
changeset 4701 5c27a0fafb0f6720de04309a79b80a0b0d81796c
parent 4505 1dc2a9b2b3834de38c9c591734810e63fb1ff21a
child 5156 a1d9d1fd879298834b1a867280acdca7263e7848
permissions -rw-r--r--
Enable Linux stack walking code on Mac OS X. b=336517 r+a=bsmedberg

#
# Sign step. Applies digital signatures to builds.
# 
package Bootstrap::Step::Sign;
use Bootstrap::Step;
use Bootstrap::Config;
@ISA = ("Bootstrap::Step");

sub Execute {
    my $this = shift;

    my $config = new Bootstrap::Config();
    my $logDir = $config->Get(sysvar => 'logDir');

    $this->Shell(
      cmd => 'echo',
      cmdArgs => ['sign'],
      logFile => catfile($logDir, 'sign.log'),
    );
}

sub Verify {
    my $this = shift;

    my $config = new Bootstrap::Config();
    my $logDir = $config->Get(sysvar => 'logDir');

    $this->Shell(
      cmd => 'echo',
      cmdArgs => ['Verify sign'],
      logFile => catfile($logDir, 'sign_verify.log'),
    );
}

1;