summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/hic-pro/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/hic-pro/package.py b/var/spack/repos/builtin/packages/hic-pro/package.py
index 11d4c4db86..d79b19e16b 100644
--- a/var/spack/repos/builtin/packages/hic-pro/package.py
+++ b/var/spack/repos/builtin/packages/hic-pro/package.py
@@ -65,10 +65,10 @@ class HicPro(MakefilePackage):
make('readstrimming')
make('iced')
- def install(sefl, spec, prefix):
+ def install(self, spec, prefix):
# Patch INSTALLPATH in config-system.txt
config = FileFilter('config-system.txt')
- config.filter('/HiC-Pro_2.10.0', '')
+ config.filter('/HiC-Pro_%s' % self.version, '')
# Install
install('config-hicpro.txt', prefix)
install('config-install.txt', prefix)