Fix bug in lua package instroduced by PR #7434 (#7450)

Fixes issue #7449
This commit is contained in:
Patrick Gartung 2018-03-09 18:57:46 -06:00 committed by scheibelp
parent 3945b2adb4
commit 82aa54151a

View file

@ -102,7 +102,7 @@ def setup_dependent_environment(self, spack_env, run_env, dependent_spec):
deptypes=('build', 'run'), deptype_query='run'): deptypes=('build', 'run'), deptype_query='run'):
if d.package.extends(self.spec): if d.package.extends(self.spec):
lua_paths.append(os.path.join(d.prefix, self.lua_lib_dir)) lua_paths.append(os.path.join(d.prefix, self.lua_lib_dir))
lua_paths.append(os.path.join(d.prefix, self.lua64_lib_dir)) lua_paths.append(os.path.join(d.prefix, self.lua_lib64_dir))
lua_paths.append(os.path.join(d.prefix, self.lua_share_dir)) lua_paths.append(os.path.join(d.prefix, self.lua_share_dir))
lua_patterns = [] lua_patterns = []