Test-Mode with the FHEM.X directory

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@1145 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2011-12-26 14:14:49 +00:00
parent bd736f9c85
commit b6607c61e9

View File

@ -35,8 +35,7 @@ CommandUpdatefhem($$)
my ($cl, $param) = @_;
my $lt = "";
my $ret = "";
my $moddir = "$attr{global}{modpath}/FHEM";
#my $moddir = "XXX";
my $moddir = (-d "FHEM.X" ? "FHEM.X" : "$attr{global}{modpath}/FHEM");
## backup by RueBe
my @commandchain = split(/ +/,$param);