From: Nacho Caballero Date: Sun, 20 Jul 2025 12:08:00 +0000 (+0200) Subject: gh-136854: Exit on error in `make venv` (#136856) X-Git-Tag: v3.15.0a1~924 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9c2f91cde80a6758e0c1390323bf6f7eb4b5d6b5;p=thirdparty%2FPython%2Fcpython.git gh-136854: Exit on error in `make venv` (#136856) Co-authored-by: Nacho Caballero --- diff --git a/Doc/Makefile b/Doc/Makefile index c8a749a02a89..84578c5c57f4 100644 --- a/Doc/Makefile +++ b/Doc/Makefile @@ -170,6 +170,7 @@ venv: echo "venv already exists."; \ echo "To recreate it, remove it first with \`make clean-venv'."; \ else \ + set -e; \ echo "Creating venv in $(VENVDIR)"; \ if $(UV) --version >/dev/null 2>&1; then \ $(UV) venv --python=$(PYTHON) $(VENVDIR); \