pcbjam/scripts/config/autom4te-wrapper.sh
Viktor Vaczi 23a23fd7a6 Add autom4te wrapper to keep submodules clean
Disable autom4te cache creation during autoconf runs by setting AUTOM4TE
to a wrapper that passes --no-cache. This prevents autom4te.cache directories
from appearing in submodules (pcre, etc.) and making them show as dirty.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 09:21:31 +01:00

7 lines
274 B
Shell
Executable file

#!/bin/bash
# autom4te wrapper - disables cache to keep submodules clean
# This prevents autom4te.cache directories from being created in source trees
#
# Unset AUTOM4TE to prevent infinite recursion when autoconf calls autom4te
unset AUTOM4TE
exec autom4te --no-cache "$@"