Update sanity-checking script to use the status directory rather than the

hardcoded sourceforge path.
This commit is contained in:
Simon Howard 2006-06-16 17:16:44 +00:00
parent 89b28102b3
commit bf0f367905

View file

@ -6,6 +6,8 @@
sub sanitycheck {
my ($dir, $file) = @_;
print "Checking $dir\n";
open(LIST_FILE, $file) or die "cant open $file";
while (<LIST_FILE>) {
@ -38,8 +40,7 @@ sub sanitycheck {
close(LIST_FILE);
}
my $status_dir = "/home/groups/f/fr/freedoom/htdocs/status";
my $status_dir = "status";
sanitycheck 'sprites', "$status_dir/sprites_list";
sanitycheck 'patches', "$status_dir/patches_list";