aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author67au <[email protected]>2022-11-02 13:47:53 +0800
committerKunoi Sayami <[email protected]>2022-11-02 13:54:07 +0800
commit4362246fe4076cd35f0397c3393442d42ea1ca96 (patch)
treefc3f75ca7d58b63090383b628829703cafca63c8
parentd93944e30cc7ce0b33b3cee329120516fce47e50 (diff)
fix(script): Fix yaydeps folder name
Signed-off-by: 67au <[email protected]>
-rwxr-xr-xutils/aur/check-aur-update.py2
1 files changed, 1 insertions, 1 deletions
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))), '']))