R6.6 round 2 fix: Git lookup tests use only temp folders

The lookup is split from the developer fallback, so the tests
need no built Git and check NoGit explicitly. Shorter stage.sh comment.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-15 12:37:20 -04:00
1 parent 5214eddf77
commit a316a5481a
3 files changed
+45 -17

No files matched your search

+1 -1
View File
@@ -64,7 +64,7 @@ if [ "$slug" = ely-pdf ]; then
mkdir "$out/tessdata"
cp "$tessdata"/{eng,chi_sim,chi_tra}.traineddata "$out/tessdata/"
fi
# ElyTree carries Git; on Linux, whose AppImage stands alone, ElyMark too.
# ElyTree carries Git; so does Linux ElyMark's standalone AppImage.
if [ "$slug" = ely-tree ] || { [ "$slug" = ely-mark ] && [ "$(uname)" = Linux ]; }; then
need "$root/engines/git" "scripts/build-git.sh and scripts/fetch-git-lfs.sh"
cp -R "$root/engines/git" "$out/git"