foreach $f ( @ARGV ) {
if ( $f =~ /\.lhs$/ ) {
- open(INF, "/home/simonpj/builds/slpj/ghc/utils/unlit/unlit $f - |") || die "Couldn't unlit $f!\n";
+ open(INF, "../utils/unlit/unlit $f - |") || die "Couldn't unlit $f!\n";
} else {
open(INF, "< $f") || die "Couldn't open $f!\n";
}
} else {
print STDERR "not counted in a directory: $f\n";
$ModCount{$f} += $cnt;
- $ModComments{$mod} += $comments;
+ $ModComments{$f} += $comments;
}
}