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:
@@ -35,8 +35,7 @@ CommandUpdatefhem($$)
|
|||||||
my ($cl, $param) = @_;
|
my ($cl, $param) = @_;
|
||||||
my $lt = "";
|
my $lt = "";
|
||||||
my $ret = "";
|
my $ret = "";
|
||||||
my $moddir = "$attr{global}{modpath}/FHEM";
|
my $moddir = (-d "FHEM.X" ? "FHEM.X" : "$attr{global}{modpath}/FHEM");
|
||||||
#my $moddir = "XXX";
|
|
||||||
|
|
||||||
## backup by RueBe
|
## backup by RueBe
|
||||||
my @commandchain = split(/ +/,$param);
|
my @commandchain = split(/ +/,$param);
|
||||||
|
|||||||
Reference in New Issue
Block a user