summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorsnehring <snehring@users.noreply.github.com>2018-10-15 14:43:02 -0500
committerPeter Scheibel <scheibel1@llnl.gov>2018-10-15 12:43:02 -0700
commitac68ed8fa8319d2792eefaf81f8d8a8ae230ea1c (patch)
treeaa26b7a386021a2667a0d973174782c65e49cdac /var
parent13c83b8ca4d843989dcbcc69df01b0bb1f9d525c (diff)
downloadspack-ac68ed8fa8319d2792eefaf81f8d8a8ae230ea1c.tar.gz
spack-ac68ed8fa8319d2792eefaf81f8d8a8ae230ea1c.tar.bz2
spack-ac68ed8fa8319d2792eefaf81f8d8a8ae230ea1c.tar.xz
spack-ac68ed8fa8319d2792eefaf81f8d8a8ae230ea1c.zip
redundans: replace incorrect hard-coded path for sspace-standard (#9483)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/redundans/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/redundans/package.py b/var/spack/repos/builtin/packages/redundans/package.py
index ea3bea2c17..2364ce082b 100644
--- a/var/spack/repos/builtin/packages/redundans/package.py
+++ b/var/spack/repos/builtin/packages/redundans/package.py
@@ -46,7 +46,12 @@ class Redundans(Package):
depends_on('snap-berkeley@1.0beta.18:', type=('build', 'run'))
def install(self, spec, prefix):
+ sspace_location = join_path(spec['sspace-standard'].prefix,
+ 'SSPACE_Standard_v3.0.pl')
mkdirp(prefix.bin)
+ filter_file(r'sspacebin = os.path.join(.*)$',
+ 'sspacebin = \'' + sspace_location + '\'',
+ 'redundans.py')
install('redundans.py', prefix.bin)
with working_dir('bin'):
install('fasta2homozygous.py', prefix.bin)