← Commit list

f1bdbd25e3

Viktor Szakats
Viktor Szakats
2026-03-28
SUCCESS Duration: 248s

Subject

mk-ca-bundle.pl: tidy up more leftovers

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

scripts/mk-ca-bundle.pl+2 -15
@@ -303,8 +303,6 @@ my $oldhash = oldhash($crt);
report "SHA256 of old file: $oldhash";
-my $filedate_iso = '';
-
if(!$opt_n) {
report "Using URL: $url";
report "Downloading $txt ...";
@@ -378,19 +376,8 @@ if(!$opt_n) {
}
}
-my $filedate;
-my $datesrc;
-
-if($filedate_iso) {
- my $time = Time::Piece->strptime($filedate_iso, '%Y-%m-%dT%H:%M:%SZ');
- $filedate = $time->epoch;
- $datesrc = "last updated on";
- utime($filedate, $filedate, $txt);
-}
-if(!$filedate) {
- $filedate = $resp ? $resp->last_modified : (stat($txt))[9];
- $datesrc = "as of";
-}
+my $filedate = $resp ? $resp->last_modified : (stat($txt))[9];
+my $datesrc = "as of";
if(!$filedate) {
# mxr.mozilla.org gave us a time, hg.mozilla.org does not!
$filedate = time();