Create a symbolic link to the MotionCor2_x.x.x executable. (#6826)

* Create a symbolic link for MotionCor2.

* Create a symbolic link for MotionCor2.

* Create a symbolic link for MotionCor2.

* Create a symbolic link for MotionCor2.
This commit is contained in:
健美猫 2018-01-05 11:27:59 +08:00 committed by Adam J. Stewart
parent a7f0da53f7
commit d438e9da4b

View file

@ -51,3 +51,5 @@ def install(self, spec, prefix):
mkdirp(prefix.bin) mkdirp(prefix.bin)
for files in glob("MotionCor2_*"): for files in glob("MotionCor2_*"):
install(files, prefix.bin) install(files, prefix.bin)
with working_dir(prefix.bin):
symlink('MotionCor2_{0}'.format(spec.version), 'MotionCor2')