[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [torflow/master] Do not export an empty PYTHONPATH
commit b1eca5055d1a0c771a88bc56430ae93c7cad896a
Author: Peter Palfrader <peter@xxxxxxxxxxxxx>
Date: Fri Jul 13 13:38:24 2012 +0200
Do not export an empty PYTHONPATH
---
NetworkScanners/BwAuthority/run_scan.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/NetworkScanners/BwAuthority/run_scan.sh b/NetworkScanners/BwAuthority/run_scan.sh
index c9fa4c4..93ffdde 100755
--- a/NetworkScanners/BwAuthority/run_scan.sh
+++ b/NetworkScanners/BwAuthority/run_scan.sh
@@ -47,7 +47,7 @@ else
sleep 500
fi
-export PYTHONPATH
+[ -z "$PYTHONPATH" ] || export PYTHONPATH
for n in `seq $SCANNER_COUNT`; do
nice -n 20 ./bwauthority.py ./data/scanner.${n}/bwauthority.cfg \
> ./data/scanner.${n}/bw.log 2>&1 &
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits