Kaydet (Commit) 17466b2d authored tarafından Petr Mladek's avatar Petr Mladek

fix configure without the optional translations module

üst 55d4d277
......@@ -1068,9 +1068,11 @@ $XCLASSPATH = '$JAVA_HOME'.$ds.'jre'.$LIB.$ds."rt.jar".$wps.'.';
$L10N_MODULE = PathFormat($SRC_ROOT."/translations");
# Check for poor help localizations, i.e. no help translation at all...
opendir(DIR,$L10N_MODULE . "/source");
@languages = readdir(DIR);
closedir(DIR);
@languages=();
if (opendir(DIR,$L10N_MODULE . "/source"))
{ @languages = readdir(DIR);
closedir(DIR);
}
$WITH_POOR_HELP_LOCALIZATIONS = "";
foreach $language (@languages)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment