workdir must be relative to current path.

This commit is contained in:
Louwrentius 2009-12-17 01:59:28 +00:00
parent 24b368e734
commit 3abe84f218

View File

@ -55,8 +55,7 @@ done
# export PPSS_DIR=/path/to/workingdir # export PPSS_DIR=/path/to/workingdir
if [ -z "$PPSS_DIR" ] if [ -z "$PPSS_DIR" ]
then then
PWD=`pwd` PPSS_DIR="./ppss"
PPSS_DIR="$PWD/ppss"
fi fi
if [ ! -e "$PPSS_DIR" ] if [ ! -e "$PPSS_DIR" ]
@ -1567,7 +1566,7 @@ listen_for_job () {
then then
kill "$SSH_MASTER_PID" kill "$SSH_MASTER_PID"
fi fi
log INFO "Press ENTER to continue." log INFO "Finished. Consult $JOB_LOG_DIR for job output."
break break
else else
commando "$event" & commando "$event" &
@ -1596,8 +1595,8 @@ listen_for_job () {
set_status STOPPED set_status STOPPED
log DEBUG "Listener stopped." log DEBUG "Listener stopped."
log INFO "Press ENTER to continue."
cleanup 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. # This starts an number of parallel workers based on the # of parallel jobs allowed.