aboutsummaryrefslogtreecommitdiff
path: root/scripts/maint/rectify_include_paths.py
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-03-27 11:07:55 +1000
committerteor <teor@torproject.org>2019-03-27 11:07:55 +1000
commita10d4adc25500e160c71d0d3f32a6f3ebbf3c9fd (patch)
tree2e524f640d70ba308e0348ad233cdeb6e1fc8bf5 /scripts/maint/rectify_include_paths.py
parent57999e330b82fa3a360406dfb28b7a35fb50d602 (diff)
downloadtor-a10d4adc25500e160c71d0d3f32a6f3ebbf3c9fd.tar.gz
tor-a10d4adc25500e160c71d0d3f32a6f3ebbf3c9fd.zip
Stop assuming that /usr/bin/python3 exists
For scripts that work with python2, use /usr/bin/python. Otherwise, use /usr/bin/env python3. Fixes bug 29913; bugfix on 0.2.5.3-alpha.
Diffstat (limited to 'scripts/maint/rectify_include_paths.py')
-rwxr-xr-xscripts/maint/rectify_include_paths.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/maint/rectify_include_paths.py b/scripts/maint/rectify_include_paths.py
index 401fadae6d..d1a2328ca6 100755
--- a/scripts/maint/rectify_include_paths.py
+++ b/scripts/maint/rectify_include_paths.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/python
import os
import os.path