From f8f67db0eb27752b86d0279af53241647bc6e84e Mon Sep 17 00:00:00 2001 From: Louwrentius Date: Thu, 17 Dec 2009 01:59:28 +0000 Subject: [PATCH] workdir must be relative to current path. --- branches/distributed-ppss/ppss.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/branches/distributed-ppss/ppss.sh b/branches/distributed-ppss/ppss.sh index 4b14652..84b1dff 100755 --- a/branches/distributed-ppss/ppss.sh +++ b/branches/distributed-ppss/ppss.sh @@ -55,8 +55,7 @@ done # export PPSS_DIR=/path/to/workingdir if [ -z "$PPSS_DIR" ] then - PWD=`pwd` - PPSS_DIR="$PWD/ppss" + PPSS_DIR="./ppss" fi if [ ! -e "$PPSS_DIR" ] @@ -1567,7 +1566,7 @@ listen_for_job () { then kill "$SSH_MASTER_PID" fi - log INFO "Press ENTER to continue." + log INFO "Finished. Consult $JOB_LOG_DIR for job output." break else commando "$event" & @@ -1596,8 +1595,8 @@ listen_for_job () { set_status STOPPED log DEBUG "Listener stopped." + log INFO "Press ENTER to continue." cleanup - log INFO "Finished. Consult $JOB_LOG_DIR for job output." } # This starts an number of parallel workers based on the # of parallel jobs allowed.