From d1b6e77a41054aefd3ae81c1790084ee518a9add Mon Sep 17 00:00:00 2001 From: Mikhail Kviatkovskii Date: Wed, 18 May 2016 14:10:43 +0300 Subject: [PATCH] indigo-utils: java naming according to source libraries --- build_scripts/indigo-release-java-utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_scripts/indigo-release-java-utils.py b/build_scripts/indigo-release-java-utils.py index f1c82d3718..d1702d7b1b 100644 --- a/build_scripts/indigo-release-java-utils.py +++ b/build_scripts/indigo-release-java-utils.py @@ -25,7 +25,7 @@ shutil.rmtree("indigo-java") #os.mkdir("indigo-java") java_dir = join(dist_dir, "indigo-java") - version = filename.replace("indigo-java-%s-" % version , '').replace('.zip', '') + version = filename.replace("indigo-java-", '').replace('.zip', '') fullChemdiffName = "chemdiff-%s" % (version) uz = ZipFile(join(dist_dir, filename)) uz.extractall(path=dist_dir) @@ -73,7 +73,7 @@ if os.path.exists("indigo-java"): shutil.rmtree("indigo-java") java_dir = join(dist_dir, "indigo-java") - version = filename.replace("indigo-java-%s-" % version , '').replace('.zip', '') + version = filename.replace("indigo-java-" , '').replace('.zip', '') fullLegioName = "legio-%s" % (version) uz = ZipFile(join(dist_dir, filename)) uz.extractall(path=dist_dir)