* Script for initialising the database.

This commit is contained in:
Eelco Dolstra
2008-11-28 17:25:30 +00:00
parent cbc046edc5
commit ff9987c904
3 changed files with 17 additions and 2 deletions

View File

@ -15,7 +15,7 @@ sub isValidPath {
sub getHydraPath {
my $dir = $ENV{HYDRA_DATA};
my $dir = $ENV{"HYDRA_DATA"};
die "The HYDRA_DATA environment variable is not set!\n" unless defined $dir;
die "The HYDRA_DATA directory does not exist!\n" unless -d $dir;
return $dir;