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

[tor-commits] [ooni-probe/master] Set PYTHONPATH path from calling python



commit ed26fa9674ed2898afa35110f515c9fb8e0f6381
Author: Arturo Filastò <art@xxxxxxxxx>
Date:   Mon Jul 13 14:24:36 2015 +0200

    Set PYTHONPATH path from calling python
---
 scripts/install.sh |    1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/install.sh b/scripts/install.sh
index 8ef1c12..89be923 100644
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -11,6 +11,7 @@ set -e
 TOR_DEB_REPO="http://deb.torproject.org/torproject.org";
 CLOUDFRONT="no"
 INSTALL_PT="yes"
+PYTHONPATH=$(python -c "import sys; print ':'.join(x for x in sys.path if x)")
 
 # These are the minimum ubuntu and debian version required to use the debian
 # package.



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