Fix "run_check_subsystem_order.sh" to use $PYTHON.

Previously it just used /usr/bin/env/python, which would fail if we
only had a "python3" binary.

Fixes bug 40095; bugfix on 0.4.4.1-alpha.
This commit is contained in:
Nick Mathewson 2020-08-11 11:01:31 -04:00
parent d83703317d
commit 2a7e71c956
2 changed files with 5 additions and 0 deletions

4
changes/bug40095 Normal file
View File

@ -0,0 +1,4 @@
o Minor bugfixes (testing):
- When running the subsystem order check, use the python binary
configured with the PYTHON environment variable. Fixes bug 40095;
bugfix on 0.4.4.1-alpha.

View File

@ -12,6 +12,7 @@ if ! test -x "${INCLUDES_PY}" ; then
fi fi
"${TOR}" --dbg-dump-subsystem-list | \ "${TOR}" --dbg-dump-subsystem-list | \
"${PYTHON:-python}" \
"${INCLUDES_PY}" --check-subsystem-order - "${abs_top_srcdir}/src" "${INCLUDES_PY}" --check-subsystem-order - "${abs_top_srcdir}/src"
echo ok echo ok