[tor-commits] [ooni-probe/master] Fix developer script
art at torproject.org
art at torproject.org
Fri Nov 20 14:41:59 UTC 2015
commit 52b02e0e863dec2969e0858780bbd3f5fc0f20e6
Author: aagbsn <aagbsn at extc.org>
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 $@
More information about the tor-commits
mailing list