diff options
author | Andrew W Elble <aweits@rit.edu> | 2024-07-22 14:00:14 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-22 20:00:14 +0200 |
commit | 63197fea3ecc2b2f8ccbc12c055fa860760bb574 (patch) | |
tree | 666ea03d8d00937e8d701607445f1fc7f3d66682 | |
parent | f044194b06d393dea67d48c27973df1e68e5ba53 (diff) | |
download | spack-63197fea3ecc2b2f8ccbc12c055fa860760bb574.tar.gz spack-63197fea3ecc2b2f8ccbc12c055fa860760bb574.tar.bz2 spack-63197fea3ecc2b2f8ccbc12c055fa860760bb574.tar.xz spack-63197fea3ecc2b2f8ccbc12c055fa860760bb574.zip |
dedisp: fix preinstall: it only takes self (#45328)
too many arguments here, only takes "self".
-rw-r--r-- | var/spack/repos/builtin/packages/dedisp/package.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/dedisp/package.py b/var/spack/repos/builtin/packages/dedisp/package.py index 557fd943c4..7634ba306c 100644 --- a/var/spack/repos/builtin/packages/dedisp/package.py +++ b/var/spack/repos/builtin/packages/dedisp/package.py @@ -36,10 +36,10 @@ class Dedisp(MakefilePackage, CudaPackage): makefile.filter(r"^\s*INSTALL_DIR\s*\?=.*", "INSTALL_DIR ?= " + prefix) @run_before("install") - def preinstall(self, spec, prefix): + def preinstall(self): # The $PREFIX/dedisp/include and $PREFIX/dedisp/lib directories don't seem # to be created automatically by the software's Makefile so manually create them - libdir = join_path(prefix, "lib") - incdir = join_path(prefix, "include") + libdir = join_path(self.prefix, "lib") + incdir = join_path(self.prefix, "include") mkdirp(libdir) mkdirp(incdir) |