aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-08-11 11:01:31 -0400
committerNick Mathewson <nickm@torproject.org>2020-08-11 11:01:31 -0400
commit2a7e71c95656226ed6a7601bddd5b7a804630890 (patch)
tree7b4ae99533dd4845f515a7b814b6f75589b4423c /scripts
parentd83703317d8dc9ca9118c161cf4e383b3d121084 (diff)
downloadtor-2a7e71c95656226ed6a7601bddd5b7a804630890.tar.gz
tor-2a7e71c95656226ed6a7601bddd5b7a804630890.zip
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.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/maint/run_check_subsystem_order.sh1
1 files changed, 1 insertions, 0 deletions
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