diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2003-07-17 20:39:08 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2003-07-17 20:39:08 +0000 |
commit | 5a0804685b5c6e5933b25bd18026207d0fbf617e (patch) | |
tree | 2ebf625e82d7bb46597d29d8fadb170ad63213e9 /www/wwwstat/files/patch-monthly.pl | |
parent | 1) Include xjavadoc, which I had installed locally, and without which (diff) |
. Make the monthly script Y2K compliant (!)
. Bump PORTREVISION.
PR: 15477
Diffstat (limited to '')
-rw-r--r-- | www/wwwstat/files/patch-monthly.pl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/www/wwwstat/files/patch-monthly.pl b/www/wwwstat/files/patch-monthly.pl new file mode 100644 index 000000000000..aef0a2108f3d --- /dev/null +++ b/www/wwwstat/files/patch-monthly.pl @@ -0,0 +1,19 @@ +$FreeBSD$ + +--- monthly.pl.orig Thu Jul 17 14:24:55 2003 ++++ monthly.pl Thu Jul 17 14:26:02 2003 +@@ -66,11 +66,13 @@ + if ($mon == 0) { $mon = 11; $year -= 1; } + else { $mon -= 1; } + ++$year += 1900; ++ + $LastMonth = $MoY[$mon]; + + $ArcName =~ s/%M/$LastMonth$year/; + +-$ArcStats = '/dc/ud/www/documentroot/Admin/stats-19' . $year . ++$ArcStats = '/dc/ud/www/documentroot/Admin/stats-' . $year . + '/' . $LastMonth . '.wwwstats.html'; + + print "Figured out that last month was $LastMonth $year\n"; |