From bf0f367905537556e4995bd8fd447dda919bceb8 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Fri, 16 Jun 2006 17:16:44 +0000 Subject: [PATCH] Update sanity-checking script to use the status directory rather than the hardcoded sourceforge path. --- sanity-check.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sanity-check.pl b/sanity-check.pl index c41566bb..6ae7f8ea 100644 --- a/sanity-check.pl +++ b/sanity-check.pl @@ -6,6 +6,8 @@ sub sanitycheck { my ($dir, $file) = @_; + print "Checking $dir\n"; + open(LIST_FILE, $file) or die "cant open $file"; while () { @@ -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";