aboutsummaryrefslogtreecommitdiffstats
path: root/stattrans.pl
diff options
context:
space:
mode:
authorTobias Quathamer <toddy>2011-03-07 21:02:36 +0000
committerTobias Quathamer <toddy>2011-03-07 21:02:36 +0000
commit4bd24c3d595b6f2e2338b5a03fb39bbc1a488be3 (patch)
tree5b9048ac383ec2070e7a6be48114fa49de12d3d8 /stattrans.pl
parentfae9d8f4dabdfd2e74fb1918957960d724f5482b (diff)
Correct output directories and give error information
CVS version numbers stattrans.pl: 1.97 -> 1.98
Diffstat (limited to 'stattrans.pl')
-rwxr-xr-xstattrans.pl6
1 files changed, 4 insertions, 2 deletions
diff --git a/stattrans.pl b/stattrans.pl
index 2cf072eb407..a39dd9cca0a 100755
--- a/stattrans.pl
+++ b/stattrans.pl
@@ -42,8 +42,8 @@ BEGIN {
$| = 1;
-$opt_h = "/org/www.debian.org/webwml/devel/website/stats";
-$opt_w = "/org/www.debian.org/webwml";
+$opt_h = "/srv/www.debian.org/webwml/devel/website/stats";
+$opt_w = "/srv/www.debian.org/webwml";
$opt_p = "*.(wml|src)";
$opt_t = "Debian web site translation statistics";
$opt_v = 0;
@@ -580,6 +580,8 @@ foreach $lang (@search_in) {
print HTML "<p><address>Created with <a href=\"http://alioth.debian.org/scm/viewvc.php/webwml/stattrans.pl?view=markup\&amp;root=webwml\">webwml-stattrans</a></address></p>\n";
close (HTML);
+ } else {
+ print "Can't open $config{'htmldir'}/$l.wml\n";
}
}
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy