Automatic commit. Wed Sep 5 00:00:03 WST 2012
[matches/honours.git] / research / TCS / pressure / get_pressure.sh
index 55c4fdf..55e7c9c 100755 (executable)
@@ -14,6 +14,11 @@ if [ "$1" != "" ]; then
        eog $imgdir/$name
 fi
 
-$process_digits $imgdir/$name
+out=$($process_digits $imgdir/$name)
 
+while [ "$out" == "?" ]; do
+       sleep 1
+       out=$($process_digits $imgdir/$name)
+done
 rm -f $imgdir/$name
+echo $out

UCC git Repository :: git.ucc.asn.au