[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [torflow/master] fix on local.cfg patch: Work with dash too and not just bash



commit 078209972984ed24fc1290f8b70eb36dd2e08f3d
Author: Peter Palfrader <peter@xxxxxxxxxxxxx>
Date:   Fri Jul 13 13:49:21 2012 +0200

    fix on local.cfg patch: Work with dash too and not just bash
---
 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 6108172..cb32da9 100755
--- a/NetworkScanners/BwAuthority/run_scan.sh
+++ b/NetworkScanners/BwAuthority/run_scan.sh
@@ -8,7 +8,7 @@ SCANNER_COUNT=4
 TOR_EXE=../../../tor.git/src/or/tor
 PYTHONPATH=../../../SQLAlchemy-0.7.3/lib:../../../Elixir-0.7.1/
 
-! [ -e local.cfg ] || . local.cfg
+! [ -e "./local.cfg" ] || . "./local.cfg"
 
 for n in `seq $SCANNER_COUNT`; do
   PIDFILE=./data/scanner.${n}/bwauthority.pid

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits