marsadm: fix @MARS_PATH

This commit is contained in:
Thomas Schoebel-Theuer 2017-12-20 15:35:44 +01:00 committed by Thomas Schoebel-Theuer
parent e1426525cd
commit f895f29e62

View File

@ -40,7 +40,13 @@ my $thresh_logsize = 5; # GB
my $dry_run = 0;
my @MARS_PATH = $ENV{MARS_PATH} ?
split(/:/, $ENV{MARS_PATH}) :
(".", "~/.marsadm", "/etc/marsadm", "/usr/lib/marsadm", "/usr/local/lib/marsadm");
(
".",
"$ENV{HOME}/.marsadm",
"/etc/marsadm",
"/usr/lib/marsadm",
"/usr/local/lib/marsadm",
);
##################################################################