Update Babel Language Packs 0.16.1 info
Change-Id: Iea5cd6fc9999f93cb421b588aa6d815cadbb0368
Signed-off-by: kitlo <kitlo@us.ibm.com>
diff --git a/classes/export/generate1.php b/classes/export/generate1.php
index 2679093..3100562 100755
--- a/classes/export/generate1.php
+++ b/classes/export/generate1.php
@@ -76,7 +76,7 @@
$build_id = $options['b'];
}
-$release_id = "0.16.0";
+$release_id = "0.16.1";
global $addon;
$work_dir = $addon->callHook('babel_working');
diff --git a/html/process_project_source_locations.php b/html/process_project_source_locations.php
index 118a8b7..4273d3e 100644
--- a/html/process_project_source_locations.php
+++ b/html/process_project_source_locations.php
@@ -56,6 +56,11 @@
$project_id = $update_site['project_id'];
$version = $update_site['version'];
+ # fix WTP version "3.12 (2018-12)"
+ $version = str_replace(" ", "", $version);
+ $version = str_replace("(", "\(", $version);
+ $version = str_replace(")", "\)", $version);
+
# Sample dirs:
# $site_url http://git.eclipse.org/c/platform/eclipse.platform.git/snapshot/I20130101-0800.zip
# $temp_snapshots_dir /tmp/tmp-babel/snapshots/eclipse/4.3/