mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
36 lines
684 B
Perl
36 lines
684 B
Perl
#
|
|
# 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;
|