[trivial] build script fix for website-only: It was adding an & to the full version string every call.

This commit is contained in:
Reinier Zwitserloot committed 2018-03-29 14:00:16 +02:00
1 parent af9861ad9f
commit 7422b28e52
1 file changed
+1 -1
@@ -23,7 +23,7 @@ public class FetchCurrentVersion {
BufferedReader br = new BufferedReader(new InputStreamReader(in, "UTF-8"));
for (String line = br.readLine(); line != null; line = br.readLine()) {
Matcher m = VERSION_PATTERN.matcher(line);
if (m.matches() && m.group(1).equals("currentVersionFull") == fetchFull) return m.group(2);
if (m.matches() && m.group(1).equals("currentVersionFull") == fetchFull) return m.group(2).replace(""", "\"");
}
throw new IOException("Expected a span with id 'currentVersion'");
} finally {