Skip to content

Commit

Permalink
indigo-utils: java naming according to source libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
mkviatkovskii authored and Kirill Taran committed May 24, 2016
1 parent b1440d8 commit d1b6e77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build_scripts/indigo-release-java-utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit d1b6e77

Please sign in to comment.