From 4362246fe4076cd35f0397c3393442d42ea1ca96 Mon Sep 17 00:00:00 2001 From: 67au Date: Wed, 2 Nov 2022 13:47:53 +0800 Subject: fix(script): Fix yaydeps folder name Signed-off-by: 67au --- utils/aur/check-aur-update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/aur/check-aur-update.py b/utils/aur/check-aur-update.py index f595a28..4be4e09 100755 --- a/utils/aur/check-aur-update.py +++ b/utils/aur/check-aur-update.py @@ -85,7 +85,7 @@ async def check_aur_update( yaydeps_dir = item.parent.joinpath('.yaydeps') if len(yay_dep_nums) > 0: - async with aiofiles.open(yaydeps_dir.joinpath(item.parent.stem), 'w', encoding='utf-8') as f: + async with aiofiles.open(yaydeps_dir.joinpath(item.stem), 'w', encoding='utf-8') as f: await f.write( '\n'.join([*(deps[heapq.heappop(yay_dep_nums)] for _ in range(len(yay_dep_nums))), ''])) -- cgit v1.3.1