From ffb4c2f127929448cb4c67b0dd6ea321ebf9cb32 Mon Sep 17 00:00:00 2001 From: vikingowl Date: Tue, 30 Dec 2025 03:40:08 +0100 Subject: [PATCH] fix: prevent .SRCINFO creation in project root MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- .gitignore | 1 + justfile | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 1588700..c267f1a 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ aur/*/*.tar.gz aur/*/*.tar.xz aur/*/*.pkg.tar.* # Keep PKGBUILD and .SRCINFO tracked +.SRCINFO diff --git a/justfile b/justfile index 7796ba1..3dea9f9 100644 --- a/justfile +++ b/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."