Fix rebuild check (#2415)

This commit is contained in:
Gyeongjae Choi 2022-04-21 13:24:40 +09:00 committed by GitHub
parent aaf9a5097f
commit 6f098b81cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -648,7 +648,7 @@ def needs_rebuild(
)
src_path = source_metadata.get("path")
if src_path:
yield from Path(src_path).resolve().glob("**/*")
yield from (pkg_root / src_path).resolve().glob("**/*")
for source_file in source_files():
source_file = Path(source_file)