summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/motioncor2/package.py2
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')