fix: prevent .SRCINFO creation in project root

- Use subshell for cd in aur-update-all recipe
- Add .SRCINFO to root .gitignore

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-30 03:40:08 +01:00
parent cde599db03
commit ffb4c2f127
2 changed files with 3 additions and 4 deletions

1
.gitignore vendored
View File

@@ -11,3 +11,4 @@ aur/*/*.tar.gz
aur/*/*.tar.xz
aur/*/*.pkg.tar.*
# Keep PKGBUILD and .SRCINFO tracked
.SRCINFO

View File

@@ -407,10 +407,8 @@ aur-update-all:
echo "=== Updating meta-packages ==="
for pkg in owlry-essentials owlry-tools owlry-widgets owlry-full; do
echo "--- $pkg ---"
cd "aur/$pkg"
# Meta-packages just need version bump and .SRCINFO regen
makepkg --printsrcinfo > .SRCINFO
cd ../..
# Use subshell to avoid cd issues
(cd "aur/$pkg" && makepkg --printsrcinfo > .SRCINFO)
done
echo ""
echo "All AUR packages updated. Run 'just aur-publish-all' to publish."