commit 42c7b051ff2677b3377b6530a4e28c1fb3dc9619 Author: teor <teor2...@gmail.com> Date: Tue Aug 30 11:56:47 2016 +1000
Find CHUTNEY_PATH based on the chutney script's path --- chutney | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/chutney b/chutney index da8d97d..5fbc5d2 100755 --- a/chutney +++ b/chutney @@ -4,6 +4,11 @@ set -o errexit set -o nounset export PYTHONPATH="$(dirname "${0}")/lib:$(dirname "${0}")/scripts:${PYTHONPATH-}" +# make a last-ditch effort to set CHUTNEY_PATH based on this script's location +if ! test "${CHUTNEY_PATH+y}" +then + export CHUTNEY_PATH="`dirname $0`" +fi binaries="python2 python" _______________________________________________ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits