diff options
author | Tobias Quathamer <toddy> | 2011-03-07 21:02:36 +0000 |
---|---|---|
committer | Tobias Quathamer <toddy> | 2011-03-07 21:02:36 +0000 |
commit | 4bd24c3d595b6f2e2338b5a03fb39bbc1a488be3 (patch) | |
tree | 5b9048ac383ec2070e7a6be48114fa49de12d3d8 /stattrans.pl | |
parent | fae9d8f4dabdfd2e74fb1918957960d724f5482b (diff) |
Correct output directories and give error information
CVS version numbers
stattrans.pl: 1.97 -> 1.98
Diffstat (limited to 'stattrans.pl')
-rwxr-xr-x | stattrans.pl | 6 |
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\&root=webwml\">webwml-stattrans</a></address></p>\n"; close (HTML); + } else { + print "Can't open $config{'htmldir'}/$l.wml\n"; } } } |