diff --git a/build/sync_data_col.sh b/build/sync_data_col.sh index 1d07163..8fa6fcf 100755 --- a/build/sync_data_col.sh +++ b/build/sync_data_col.sh @@ -124,7 +124,9 @@ if [[ "$SKIPSYNC" == false ]]; then done #Get runtime and states from the output - RUNTIME=`cat "$FILE" | grep -oP '(?<=total run time is )[^ ]*'` + #RUNTIME=`cat "$FILE" | grep -oP '(?<=total run time is )[^ ]*'` + RUNTIME=`cat "$FILE" | grep -oP '(?<=AG TOOK )[^ ]*'` + STATES=`cat "$FILE" | grep -oP '(?<=Total States: )[^ ]*'` if ! test -s "$ERR" || test "$SKIP_FLAG" -eq 1 ; then @@ -226,7 +228,9 @@ if [[ "$SKIPSYNC" == false ]]; then done #Get runtime and states from the output - RUNTIME=`cat "$FILE" | grep -oP '(?<=total run time is )[^ ]*'` + #RUNTIME=`cat "$FILE" | grep -oP '(?<=total run time is )[^ ]*'` + RUNTIME=`cat "$FILE" | grep -oP '(?<=AG TOOK )[^ ]*'` + STATES=`cat "$FILE" | grep -oP '(?<=Total States: )[^ ]*'` if ! test -s "$ERR" || test "$SKIP_FLAG" -eq 1 ; then