Test-Mode with the FHEM.X directory

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@1145 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2011-12-26 14:14:49 +00:00
parent 9d5d8085fa
commit 60083fdf2a

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