From b3ba085fbe72ad1b296298d6eac0fcb61914505d Mon Sep 17 00:00:00 2001 From: Louwrentius Date: Sat, 21 Mar 2009 20:50:37 +0000 Subject: [PATCH] 2.11 - Ok version with fixed file handling when using input file instead of dir --- ppss.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ppss.sh b/ppss.sh index 0b65305..97bf01a 100755 --- a/ppss.sh +++ b/ppss.sh @@ -38,7 +38,7 @@ trap 'kill_process; ' INT # Setting some vars. Do not change. SCRIPT_NAME="Distributed Parallel Processing Shell Script" -SCRIPT_VERSION="2.10" +SCRIPT_VERSION="2.11" # The first argument to this script is always the 'mode'. MODE="$1" @@ -927,7 +927,7 @@ upload_item () { log DEBUG "ERROR - uploading of $ITEM failed." else log DEBUG "Upload of item $ITEM success" - rm $ITEM + rm "$ITEM" fi else cp "$ITEM" $REMOTE_OUTPUT_DIR @@ -1186,7 +1186,7 @@ commando () { then if [ -e "$ITEM" ] then - rm $ITEM + rm "$ITEM" else log DEBUG "ERROR Something went wrong removing item $ITEM from local work dir." fi