From 0dad4cd872b4aa597ece87a3396439e46999326d Mon Sep 17 00:00:00 2001 From: Louwrentius Date: Sat, 28 Feb 2009 19:11:48 +0000 Subject: [PATCH] Removed usage of bc so this is not a dependency anymore. --- branches/distributed-ppss/ppss.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/branches/distributed-ppss/ppss.sh b/branches/distributed-ppss/ppss.sh index 1ea5700..b94811d 100755 --- a/branches/distributed-ppss/ppss.sh +++ b/branches/distributed-ppss/ppss.sh @@ -568,10 +568,11 @@ deploy_ppss () { set_error $? scp -q $SCRIPT $USER@$NODE:~/$PPSS_HOME_DIR set_error $? - scp -q $INPUT_FILE $USER@$NODE:~/$PPSS_HOME_DIR - set_error $? - - + if [ ! -z "$INPUT_FILE" ] + then + scp -q $INPUT_FILE $USER@$NODE:~/$PPSS_HOME_DIR + set_error $? + fi if [ "$ERROR" == "0" ] then