[tor/release-0.4.4] Fix "run_check_subsystem_order.sh" to use $PYTHON.

commit 2a7e71c95656226ed6a7601bddd5b7a804630890 Author: Nick Mathewson <nickm@torproject.org> Date: Tue Aug 11 11:01:31 2020 -0400 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. --- changes/bug40095 | 4 ++++ scripts/maint/run_check_subsystem_order.sh | 1 + 2 files changed, 5 insertions(+) diff --git a/changes/bug40095 b/changes/bug40095 new file mode 100644 index 0000000000..5c4b3a2b7e --- /dev/null +++ b/changes/bug40095 @@ -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. diff --git a/scripts/maint/run_check_subsystem_order.sh b/scripts/maint/run_check_subsystem_order.sh index 4ec73bfd56..8e98f1e49c 100755 --- a/scripts/maint/run_check_subsystem_order.sh +++ b/scripts/maint/run_check_subsystem_order.sh @@ -12,6 +12,7 @@ if ! test -x "${INCLUDES_PY}" ; then fi "${TOR}" --dbg-dump-subsystem-list | \ + "${PYTHON:-python}" \ "${INCLUDES_PY}" --check-subsystem-order - "${abs_top_srcdir}/src" echo ok
participants (1)
-
nickm@torproject.org