revert commit 26130, use hardcoded default value for HYDRA_DATA (/var/lib/hydra)
This commit is contained in:
parent
0439e7efb7
commit
f95ded45a5
|
@ -55,7 +55,6 @@ AC_CONFIG_FILES([
|
|||
src/sql/Makefile
|
||||
src/xsl/Makefile
|
||||
src/lib/Makefile
|
||||
src/lib/Hydra/Helper/Nix.pm
|
||||
src/root/Makefile
|
||||
|
||||
src/script/Makefile
|
||||
|
|
|
@ -24,7 +24,8 @@ sub isValidPath {
|
|||
|
||||
|
||||
sub getHydraPath {
|
||||
my $dir = $ENV{"HYDRA_DATA"} || "@localstatedir@/lib/hydra";
|
||||
my $dir = $ENV{"HYDRA_DATA"} || "/var/lib/hydra";
|
||||
die "The HYDRA_DATA directory does not exist!\n" unless -d $dir;
|
||||
return $dir;
|
||||
}
|
||||
|
|
@ -10,8 +10,7 @@ PERL_MODULES = \
|
|||
$(wildcard Hydra/Base/Controller/*.pm)
|
||||
|
||||
EXTRA_DIST = \
|
||||
$(PERL_MODULES) \
|
||||
Hydra/Helper/Nix.pm.in
|
||||
$(PERL_MODULES)
|
||||
|
||||
hydradir = $(libexecdir)/hydra/lib
|
||||
nobase_hydra_DATA = $(PERL_MODULES)
|
||||
|
|
Loading…
Reference in a new issue