commit b1eca5055d1a0c771a88bc56430ae93c7cad896a Author: Peter Palfrader peter@palfrader.org 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 &