mirror of
https://github.com/freedoom/freedoom.git
synced 2025-09-01 22:25:46 -04:00
Update sanity-checking script to use the status directory rather than the
hardcoded sourceforge path.
This commit is contained in:
parent
89b28102b3
commit
bf0f367905
1 changed files with 3 additions and 2 deletions
|
@ -6,6 +6,8 @@
|
||||||
sub sanitycheck {
|
sub sanitycheck {
|
||||||
my ($dir, $file) = @_;
|
my ($dir, $file) = @_;
|
||||||
|
|
||||||
|
print "Checking $dir\n";
|
||||||
|
|
||||||
open(LIST_FILE, $file) or die "cant open $file";
|
open(LIST_FILE, $file) or die "cant open $file";
|
||||||
|
|
||||||
while (<LIST_FILE>) {
|
while (<LIST_FILE>) {
|
||||||
|
@ -38,8 +40,7 @@ sub sanitycheck {
|
||||||
close(LIST_FILE);
|
close(LIST_FILE);
|
||||||
}
|
}
|
||||||
|
|
||||||
my $status_dir = "/home/groups/f/fr/freedoom/htdocs/status";
|
my $status_dir = "status";
|
||||||
|
|
||||||
|
|
||||||
sanitycheck 'sprites', "$status_dir/sprites_list";
|
sanitycheck 'sprites', "$status_dir/sprites_list";
|
||||||
sanitycheck 'patches', "$status_dir/patches_list";
|
sanitycheck 'patches', "$status_dir/patches_list";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue