[tor-commits] [tor/master] Make updateFallbackDirs.py search harder for python
nickm at torproject.org
nickm at torproject.org
Fri Jan 5 21:47:34 UTC 2018
commit 91a8b37a2ec9dd91ad4b1ce55eb25b1d5de8d4ea
Author: teor <teor2345 at gmail.com>
Date: Fri Dec 22 21:42:59 2017 +1100
Make updateFallbackDirs.py search harder for python
(Some OSs don't put it in /usr/bin.)
Fixes bug 24708; bugfix on 0.2.8.1-alpha.
---
changes/bug24708 | 4 ++++
scripts/maint/updateFallbackDirs.py | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/changes/bug24708 b/changes/bug24708
new file mode 100644
index 000000000..89eb4f97f
--- /dev/null
+++ b/changes/bug24708
@@ -0,0 +1,4 @@
+ o Minor bugfixes (fallback directory mirrors):
+ - Make updateFallbackDirs.py search harder for python.
+ (Some OSs don't put it in /usr/bin.)
+ Fixes bug 24708; bugfix on 0.2.8.1-alpha.
diff --git a/scripts/maint/updateFallbackDirs.py b/scripts/maint/updateFallbackDirs.py
index 4c0a30a5e..81fb26f88 100755
--- a/scripts/maint/updateFallbackDirs.py
+++ b/scripts/maint/updateFallbackDirs.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# Usage:
#
More information about the tor-commits
mailing list