[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [ooni-probe/master] Fix developer script
commit 52b02e0e863dec2969e0858780bbd3f5fc0f20e6
Author: aagbsn <aagbsn@xxxxxxxx>
Date: Thu Sep 24 15:51:36 2015 +0000
Fix developer script
---
bin/ooniprobe-dev | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/ooniprobe-dev b/bin/ooniprobe-dev
index e0d5abb..b85d3a3 100755
--- a/bin/ooniprobe-dev
+++ b/bin/ooniprobe-dev
@@ -2,5 +2,5 @@
# Developer script for running ooniprobe directly from the repository.
# We don't automatically add "$PWD" to PYTHONPATH as that is a security risk
# when run as /usr/bin/ooniprobe on an end user's computer.
-cd "$(realpath "$(dirname "$0")")"
-PYTHONPATH="$PWD" exec ./bin/ooniprobe
+cd "$(realpath "$(dirname "$0")")/.."
+PYTHONPATH="$PWD" exec ./bin/ooniprobe $@
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits