diff --git a/ppss b/ppss index 221db2b..d619942 100755 --- a/ppss +++ b/ppss @@ -1715,7 +1715,7 @@ show_status () { then ITEMS=`exec_cmd "ls -1 $SRC_DIR | wc -l"` else - ITEMS=`exec_cmd "cat $PPSS_DIR/$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 @@ -1752,7 +1752,7 @@ show_status () { STATUS="UNKNOWN" RES=0 fi - let PROCESSED=$PROCESSED+$RES + let PROCESSED="$PROCESSED+$RES" LINE=`echo "$x $NODE $RES $STATUS" | awk '{ printf ("%-16s %-18s % 10s %10s\n",$1,$2,$3,$4) }'` log DSPLY "$LINE" done diff --git a/ppss-test.sh b/ppss-test.sh index db2dfdd..503d3c1 100755 --- a/ppss-test.sh +++ b/ppss-test.sh @@ -1,7 +1,7 @@ #!/bin/bash DEBUG="$1" -VERSION="2.56b3" +VERSION="2.56b4" TMP_DIR="ppss" PPSS=./ppss PPSS_DIR=ppss_dir