mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 14:51:11 +01:00
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.
18 lines
359 B
Bash
Executable file
18 lines
359 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
TOR="${abs_top_builddir:-.}/src/app/tor"
|
|
|
|
INCLUDES_PY="${abs_top_srcdir:-.}/scripts/maint/practracker/includes.py"
|
|
|
|
if ! test -x "${INCLUDES_PY}" ; then
|
|
echo "skip"
|
|
exit 77
|
|
fi
|
|
|
|
"${TOR}" --dbg-dump-subsystem-list | \
|
|
"${PYTHON:-python}" \
|
|
"${INCLUDES_PY}" --check-subsystem-order - "${abs_top_srcdir}/src"
|
|
|
|
echo ok
|