From 4bd24c3d595b6f2e2338b5a03fb39bbc1a488be3 Mon Sep 17 00:00:00 2001 From: Tobias Quathamer Date: Mon, 7 Mar 2011 21:02:36 +0000 Subject: Correct output directories and give error information CVS version numbers stattrans.pl: 1.97 -> 1.98 --- stattrans.pl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'stattrans.pl') 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 "

Created with webwml-stattrans

\n"; close (HTML); + } else { + print "Can't open $config{'htmldir'}/$l.wml\n"; } } } -- cgit v1.2.3