summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2019-06-06 14:07:46 -0700
committerGitHub <noreply@github.com>2019-06-06 14:07:46 -0700
commit89b891d2648441f31a104b8f24ddcb03b3409185 (patch)
tree4071548914136991d39f8e4041897a14f2747182 /var
parent541578a45679ab993ff38800de2f18f5242d93aa (diff)
downloadspack-89b891d2648441f31a104b8f24ddcb03b3409185.tar.gz
spack-89b891d2648441f31a104b8f24ddcb03b3409185.tar.bz2
spack-89b891d2648441f31a104b8f24ddcb03b3409185.tar.xz
spack-89b891d2648441f31a104b8f24ddcb03b3409185.zip
bugfix: lua-luafilesystem package should use stage.source_path (#11648)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/lua-luafilesystem/package.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/lua-luafilesystem/package.py b/var/spack/repos/builtin/packages/lua-luafilesystem/package.py
index 65e259b660..372e71a27e 100644
--- a/var/spack/repos/builtin/packages/lua-luafilesystem/package.py
+++ b/var/spack/repos/builtin/packages/lua-luafilesystem/package.py
@@ -36,8 +36,7 @@ class LuaLuafilesystem(Package):
semver = version[0:3]
tweak_level = version[3] if len(version) > 3 else 1
fmt = os.path.join(
- self.stage.path,
- 'luafilesystem-{version.underscored}',
+ self.stage.source_path,
'rockspecs',
'luafilesystem-{semver.dotted}-{tweak_level}.rockspec'
)