From 89b891d2648441f31a104b8f24ddcb03b3409185 Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Thu, 6 Jun 2019 14:07:46 -0700 Subject: [PATCH] bugfix: lua-luafilesystem package should use stage.source_path (#11648) --- var/spack/repos/builtin/packages/lua-luafilesystem/package.py | 3 +-- 1 file changed, 1 insertion(+), 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 @@ def rockspec(self): 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' )