allow netdisco-deploy to work from git and without localenv
This commit is contained in:
@@ -5,11 +5,10 @@ use warnings FATAL => 'all';
|
||||
|
||||
use FindBin;
|
||||
FindBin::again();
|
||||
|
||||
our $home;
|
||||
|
||||
# try really hard to find a localenv if one isn't already in place.
|
||||
BEGIN {
|
||||
# try really hard to find a localenv if one isn't already in place.
|
||||
$home = ($ENV{NETDISCO_HOME} || $ENV{HOME});
|
||||
eval "use Daemon::Control";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user