f
This commit is contained in:
@@ -1243,10 +1243,7 @@ if (Test-Path (Join-Path $repo 'CLI.py')) {
|
||||
" done\n"
|
||||
' echo "MM_DEBUG: end diagnostics" >&2\n'
|
||||
"fi\n"
|
||||
"# Packaged console script in the venv if available\n"
|
||||
'if [ -x "$VENV/bin/mm" ]; then\n'
|
||||
' exec "$VENV/bin/mm" "$@"\n'
|
||||
"fi\n"
|
||||
"# Use -m scripts.cli_entry directly instead of pip-generated wrapper to avoid entry point issues\n"
|
||||
"# Prefer venv's python3, then venv's python\n"
|
||||
'if [ -x "$VENV/bin/python3" ]; then\n'
|
||||
' exec "$VENV/bin/python3" -m scripts.cli_entry "$@"\n'
|
||||
|
||||
Reference in New Issue
Block a user