Merge branch 'maint-0.4.8'
[tor.git] / scripts / maint / run_check_subsystem_order.sh
blob8e98f1e49ccf3f9683d11bf1c1009691be3044fd
1 #!/usr/bin/env bash
3 set -e
5 TOR="${abs_top_builddir:-.}/src/app/tor"
7 INCLUDES_PY="${abs_top_srcdir:-.}/scripts/maint/practracker/includes.py"
9 if ! test -x "${INCLUDES_PY}" ; then
10 echo "skip"
11 exit 77
14 "${TOR}" --dbg-dump-subsystem-list | \
15 "${PYTHON:-python}" \
16 "${INCLUDES_PY}" --check-subsystem-order - "${abs_top_srcdir}/src"
18 echo ok