[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Make updateFallbackDirs.py search harder for python



commit 91a8b37a2ec9dd91ad4b1ce55eb25b1d5de8d4ea
Author: teor <teor2345@xxxxxxxxx>
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:
 #



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits