Add package for CONVERGE CFD (#1905)

This commit is contained in:
Adam J. Stewart
2016-10-05 12:37:50 -05:00
committed by Todd Gamblin
parent 95b07c365c
commit 6ee020cea4
2 changed files with 74 additions and 0 deletions

View File

@@ -157,6 +157,11 @@ def symlink_license(pkg):
license_dir = os.path.dirname(link_name)
if not os.path.exists(license_dir):
mkdirp(license_dir)
# If example file already exists, overwrite it with a symlink
if os.path.exists(link_name):
os.remove(link_name)
if os.path.exists(target):
os.symlink(target, link_name)
tty.msg("Added local symlink %s to global license file" %