diff options
author | 健美猫 <weijianwen@gmail.com> | 2018-01-05 11:27:59 +0800 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2018-01-04 21:27:59 -0600 |
commit | d438e9da4b7e8600ff2ac8c0819625ffcbfd1951 (patch) | |
tree | 6c1d2c87a12de53b4227631b145b23d758786378 | |
parent | a7f0da53f7f93021709365822c2e1d30a9ae570c (diff) | |
download | spack-d438e9da4b7e8600ff2ac8c0819625ffcbfd1951.tar.gz spack-d438e9da4b7e8600ff2ac8c0819625ffcbfd1951.tar.bz2 spack-d438e9da4b7e8600ff2ac8c0819625ffcbfd1951.tar.xz spack-d438e9da4b7e8600ff2ac8c0819625ffcbfd1951.zip |
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.
-rw-r--r-- | var/spack/repos/builtin/packages/motioncor2/package.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/motioncor2/package.py b/var/spack/repos/builtin/packages/motioncor2/package.py index cd4db241f0..e99a052c09 100644 --- a/var/spack/repos/builtin/packages/motioncor2/package.py +++ b/var/spack/repos/builtin/packages/motioncor2/package.py @@ -51,3 +51,5 @@ class Motioncor2(Package): mkdirp(prefix.bin) for files in glob("MotionCor2_*"): install(files, prefix.bin) + with working_dir(prefix.bin): + symlink('MotionCor2_{0}'.format(spec.version), 'MotionCor2') |