Commit c85d1758 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update configure_build.py to fix a bug in get_plugin_version.

parent cfed9042
......@@ -101,7 +101,6 @@ PLUGINS_FILES["extjs"] = [
PLUGINS_FILES["mathjax"] = [
"static/plugin_mathjax/fonts/HTML-CSS/TeX/woff",
"static/plugin_mathjax/images",
"static/plugin_mathjax/jax",
"static/plugin_mathjax/extensions",
"static/plugin_mathjax/MathJax.js"]
......@@ -164,7 +163,6 @@ def get_plugin_version(plugin):
with open(VERSION, "rb") as tmpfile:
release = tmpfile.read()
release = release.replace(".", "")
elif plugin == "extjs":
......@@ -205,6 +203,7 @@ def get_plugin_version(plugin):
error("\n\tUnknown plugin %" % plugin)
sys.exit(1)
release = release.replace(".", "")
if len(release) == 2:
release = "%s0" % release
......
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