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:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -11,3 +11,4 @@ aur/*/*.tar.gz
|
||||
aur/*/*.tar.xz
|
||||
aur/*/*.pkg.tar.*
|
||||
# Keep PKGBUILD and .SRCINFO tracked
|
||||
.SRCINFO
|
||||
|
||||
6
justfile
6
justfile
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user