mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
Typo fixed (fhem.pl won't start)
git-svn-id: https://svn.fhem.de/fhem/trunk@1764 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
14d7e10639
commit
7a8515ae54
@ -1626,11 +1626,12 @@ GlobalAttr($$)
|
|||||||
eval {
|
eval {
|
||||||
use vars qw($DISTRIB_DESCRIPTION);
|
use vars qw($DISTRIB_DESCRIPTION);
|
||||||
# start of fix
|
# start of fix
|
||||||
# "Use of uninitialized value" after a fresh 5.2 installation and first time "updatefhem"
|
# "Use of uninitialized value" after a fresh 5.2 installation and first
|
||||||
# release.pm does not reside in FhemUtils (what it should), so we load it from $modpath
|
# time "updatefhem" release.pm does not reside in FhemUtils (what it
|
||||||
|
# should), so we load it from $modpath
|
||||||
if(-e "$modpath/FhemUtils/release.pm") {
|
if(-e "$modpath/FhemUtils/release.pm") {
|
||||||
require "FhemUtils/release.pm";
|
require "FhemUtils/release.pm";
|
||||||
} elsif(-e:"$modpath/release.pm") {
|
} elsif(-e "$modpath/release.pm") {
|
||||||
require "release.pm";
|
require "release.pm";
|
||||||
} else {
|
} else {
|
||||||
$DISTRIB_DESCRIPTION = "unknown";
|
$DISTRIB_DESCRIPTION = "unknown";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user