]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix "run_check_subsystem_order.sh" to use $PYTHON.
authorNick Mathewson <nickm@torproject.org>
Tue, 11 Aug 2020 15:01:31 +0000 (11:01 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 11 Aug 2020 15:01:31 +0000 (11:01 -0400)
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 [new file with mode: 0644]
scripts/maint/run_check_subsystem_order.sh

diff --git a/changes/bug40095 b/changes/bug40095
new file mode 100644 (file)
index 0000000..5c4b3a2
--- /dev/null
@@ -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.
index 4ec73bfd5686b500a4dbdaed4bf591ef95374fcc..8e98f1e49ccf3f9683d11bf1c1009691be3044fd 100755 (executable)
@@ -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