foamMonitor: fixed bug in test syntax

This commit is contained in:
Chris Greenshields
2016-06-16 15:04:12 +01:00
parent fb5358eed0
commit ce11c8288d

View File

@ -155,7 +155,7 @@ for field in $KEYS
do do
i=$(expr $i + 1) i=$(expr $i + 1)
PLOTLINE="\"$FILE\" using 1:${i} with lines title \"$field\"" PLOTLINE="\"$FILE\" using 1:${i} with lines title \"$field\""
if [[ $i -lt $NCOLS ]] if [ $i -lt $NCOLS ]
then then
PLOTLINE="$PLOTLINE, \\" PLOTLINE="$PLOTLINE, \\"
fi fi