bugfix: lua-luafilesystem package should use stage.source_path (#11648)

This commit is contained in:
Todd Gamblin 2019-06-06 14:07:46 -07:00 committed by GitHub
parent 541578a456
commit 89b891d264
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'
)