From 1c39a26c792d87cea84217bf153b40c92a0426da Mon Sep 17 00:00:00 2001 From: Louwrentius Date: Mon, 23 Mar 2009 20:24:20 +0000 Subject: [PATCH] better path handling --- branches/distributed-ppss/ppss.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/branches/distributed-ppss/ppss.sh b/branches/distributed-ppss/ppss.sh index 352ab03..d4f4aa6 100755 --- a/branches/distributed-ppss/ppss.sh +++ b/branches/distributed-ppss/ppss.sh @@ -72,7 +72,7 @@ SSH_SOCKET="/tmp/PPSS-ssh-socket" # Multiplex multiple SSH connections ove SSH_OPTS="-o BatchMode=yes -o ControlPath=$SSH_SOCKET \ -o GlobalKnownHostsFile=./known_hosts \ -o ControlMaster=auto \ - -o ConnectTimeout=5 " + -o ConnectTimeout=15 " SSH_MASTER_PID="" PPSS_HOME_DIR="ppss" @@ -713,7 +713,7 @@ deploy_ppss () { else for NODE in `cat $NODES_FILE` do - deploy "$NODE" & + deploy "$NODE" done fi } @@ -1298,7 +1298,7 @@ show_status () { then ITEMS=`exec_cmd "ls -1 $SRC_DIR | wc -l"` else - ITEMS=`exec_cmd "cat $INPUT_FILE | wc -l"` + ITEMS=`exec_cmd "cat $PPSS_HOME_DIR/$INPUT_FILE | wc -l"` fi PROCESSED=`exec_cmd "ls -1 $ITEM_LOCK_DIR | wc -l"` 2>&1 >> /dev/null