diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-01-19 01:52:10 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-02-05 19:34:03 -0600 |
commit | 4a9526d59bb3f207c74a757b338b7950f604d450 (patch) | |
tree | ccda4362b07134955eb42ef4749a8822e46c8a15 /set_soenv.in | |
parent | migrate ENABLE_DEBUG out of set_soenv (diff) | |
download | core-4a9526d59bb3f207c74a757b338b7950f604d450.tar.gz core-4a9526d59bb3f207c74a757b338b7950f604d450.zip |
migrate WITH_POOR_HELP_LOCALIZATIONS out of set_soenv
Diffstat (limited to 'set_soenv.in')
-rwxr-xr-x | set_soenv.in | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/set_soenv.in b/set_soenv.in index 54d0a3cd6fd1..8a52e9048011 100755 --- a/set_soenv.in +++ b/set_soenv.in @@ -288,26 +288,6 @@ $CLASSPATH .= $wps.'.' if ($CLASSPATH ne ''); # Why do we need XCLASSPATH when it has the exact same value as CLASSPATH? $XCLASSPATH = $CLASSPATH; -# Location of the translations module -$L10N_MODULE = PathFormat($SRC_ROOT."/translations"); - -# Check for poor help localizations, i.e. no help translation at all... -@languages=(); -if (opendir(DIR,$L10N_MODULE . "/source")) -{ - @languages = readdir(DIR); - closedir(DIR); -} -$WITH_POOR_HELP_LOCALIZATIONS = ""; - -foreach $language (@languages) -{ - if ( ($language ne ".") && ($language ne "..") && (! -d $L10N_MODULE . "/source/" . $language . "/helpcontent2") ) - { - $WITH_POOR_HELP_LOCALIZATIONS = $WITH_POOR_HELP_LOCALIZATIONS . " " . $language; - } -} - # Windows NT only variables if ($platform =~ m/cygwin/) @@ -531,8 +511,6 @@ ToFile( "Empty", $empty, "n" ); # Writing the platform independent constant values to file. # (c = comment, e = environment variable, a = alias ) ToFile( "Platform independent constant values.", $empty, "c" ); -# Languages -ToFile( "WITH_POOR_HELP_LOCALIZATIONS", $WITH_POOR_HELP_LOCALIZATIONS, "e" ); } ToFile( "nodep", "@nodep@", "e" ); |