summaryrefslogtreecommitdiff
path: root/src
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 /src
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 'src')
-rw-r--r--src/config/mmdb-convert.py2
-rw-r--r--src/test/ope_ref.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/config/mmdb-convert.py b/src/config/mmdb-convert.py
index 706a8b03cc..b861e9433e 100644
--- a/src/config/mmdb-convert.py
+++ b/src/config/mmdb-convert.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/python
# This software has been dedicated to the public domain under the CC0
# public domain dedication.
diff --git a/src/test/ope_ref.py b/src/test/ope_ref.py
index f9bd97c546..b2f7012563 100644
--- a/src/test/ope_ref.py
+++ b/src/test/ope_ref.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
# Copyright 2018-2019, The Tor Project, Inc. See LICENSE for licensing info.
# Reference implementation for our rudimentary OPE code, used to