commit 40fd44a8ba26144b83c0e0a8e6caff03df717ec4 Author: teor teor@torproject.org Date: Mon Apr 8 12:00:45 2019 +1000
shellcheck: Fix warnings in the chutney script
Part of 30065. --- chutney | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/chutney b/chutney index fcd5ec5..e6fef7e 100755 --- a/chutney +++ b/chutney @@ -3,11 +3,13 @@ set -o errexit set -o nounset
-export PYTHONPATH="$(dirname "${0}")/lib:$(dirname "${0}")/scripts:${PYTHONPATH-}" +PYTHONPATH="$(dirname "${0}")/lib:$(dirname "${0}")/scripts:${PYTHONPATH-}" +export 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`" + CHUTNEY_PATH=$(dirname "$0") + export CHUTNEY_PATH fi
binaries="python python3 python2"
tor-commits@lists.torproject.org