2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-08 13:24:56 +00:00

Test-Mode with the FHEM.X directory

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

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);