fix version in locale version file

(it's compared to full version)
pull/51/head
reger 9 years ago
parent 0fb01e429e
commit 16837d60c7

@ -3773,6 +3773,7 @@ Table Viewer==Tabellen Betrachter
#File: api/yacydoc.html
#---------------------------
>Title<==>Titel<
>Author<==>Autor<
>Description<==>Beschreibung<
>Subject<==>Betreff<

@ -51,6 +51,7 @@ import net.yacy.cora.util.CommonPattern;
import net.yacy.cora.util.ConcurrentLog;
import net.yacy.kelondro.util.FileUtils;
import net.yacy.kelondro.util.Formatter;
import net.yacy.peers.Seed;
import net.yacy.search.SwitchboardConstants;
import net.yacy.server.serverSwitch;
import net.yacy.utils.translation.ExtensionsFileFilter;
@ -268,7 +269,7 @@ public class Translator {
Formatter.setLocale(env.getConfig("locale.language", "en"));
try {
final BufferedWriter bw = new BufferedWriter(new PrintWriter(new FileWriter(new File(destDir, "version"))));
bw.write(env.getConfig("svnRevision", "Error getting Version"));
bw.write(env.getConfig(Seed.VERSION, "Error getting Version"));
bw.close();
} catch (final IOException e) {
// Error

Loading…
Cancel
Save