diff --git a/charting/scopes.pl b/charting/scopes.pl index 3927471b..8a8c6692 100755 --- a/charting/scopes.pl +++ b/charting/scopes.pl @@ -6,8 +6,7 @@ # Extracts statistics about number of scopes from the published metadata. # use warnings; -use lib "../build"; -use Xalan; +use lib "."; use Months; # Parse command line arguments @@ -31,7 +30,7 @@ foreach $month (@months) { my $fn = "cache/$month.xml"; my %scopes; - open(TXT, xalanCall . " -IN $fn -XSL scopes.xsl|") || die "could not open input file"; + open(TXT, "xsltproc scopes.xsl $fn|") || die "could not open input file"; while () { chop; my $scope = $_;