pkgchroot: a fork in the middle of the list was never seen as a fork

sandbox_stale matched " $(fork_recipes) " against " <path> ", but the list is one path per line,
so only the first and the last entry had a space on both sides.  x11/mcde-motif is not among
them: its source commit never reached the staleness key and a fix in ext/src/mcde was built
into the old work directory (MacBook 2026-11-24, UilLexPars.h: File exists, again).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
lotherkandClaude Sonnet 5.5 committed 2026-11-24 06:59:40 +00:00
1 parent b16677121a
commit e2293a29c3
1 file changed
+1 -1
+1 -1
View File
@@ -183,7 +183,7 @@ sandbox_stale()
# ext/src/<name> into WRKSRC). A commit in the fork is what changes the
# build, so the tree's content is part of the key.
src=
case " $(fork_recipes) " in
case " $(fork_recipes | tr '\n' ' ') " in
*" $sr_path "*) src=$(fork_src "$sr_path") ;;
esac
# A commit is the input, not a hash of the tree: `git status' would be