diff options
author | Paul <pbryant@newmexicoconsortium.org> | 2019-12-06 11:04:57 -0700 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2019-12-06 12:04:57 -0600 |
commit | 67e45096c833c8be84840e17d8054e3e04f4193c (patch) | |
tree | d70e75f916cb842ffd0fa80bdcc2cdcad8d5744e | |
parent | 5e20bd86e4438760e24c9db66649732af852113e (diff) | |
download | spack-67e45096c833c8be84840e17d8054e3e04f4193c.tar.gz spack-67e45096c833c8be84840e17d8054e3e04f4193c.tar.bz2 spack-67e45096c833c8be84840e17d8054e3e04f4193c.tar.xz spack-67e45096c833c8be84840e17d8054e3e04f4193c.zip |
Specify self for internal setup method (#14008)
-rw-r--r-- | var/spack/repos/builtin/packages/lua/package.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/lua/package.py b/var/spack/repos/builtin/packages/lua/package.py index 0dac18d52c..3c27785f33 100644 --- a/var/spack/repos/builtin/packages/lua/package.py +++ b/var/spack/repos/builtin/packages/lua/package.py @@ -118,8 +118,8 @@ class Lua(Package): return lua_patterns, lua_cpatterns def setup_dependent_build_environment(self, env, dependent_spec): - lua_patterns, lua_cpatterns = _setup_dependent_env_helper( - self, env, dependent_spec) + lua_patterns, lua_cpatterns = self._setup_dependent_env_helper( + env, dependent_spec) env.set('LUA_PATH', ';'.join(lua_patterns), separator=';') env.set('LUA_CPATH', ';'.join(lua_cpatterns), separator=';') @@ -127,8 +127,8 @@ class Lua(Package): def setup_dependent_run_environment(self, env, dependent_spec): # For run time environment set only the path for dependent_spec and # prepend it to LUAPATH - lua_patterns, lua_cpatterns = _setup_dependent_env_helper( - self, env, dependent_spec) + lua_patterns, lua_cpatterns = self._setup_dependent_env_helper( + env, dependent_spec) if dependent_spec.package.extends(self.spec): env.prepend_path('LUA_PATH', ';'.join(lua_patterns), separator=';') |