Index: trunk/tools/eam/rawfix.20230221/src/check.rawfix.sh
===================================================================
--- trunk/tools/eam/rawfix.20230221/src/check.rawfix.sh	(revision 42455)
+++ trunk/tools/eam/rawfix.20230221/src/check.rawfix.sh	(revision 42459)
@@ -49,5 +49,5 @@
 
   set mynight = $2
-  mysql -E $DBOPTS -e "select * from nights where (dateobs = '$mynight')"
+  mysql $DBOPTS -E -e "select * from nights where (dateobs = '$mynight')"
   exit 0
 endif
@@ -61,16 +61,19 @@
   set mystate = $2
 
-  if ($mystate == "ckchip.new")    goto good_state
-  if ($mystate == "ckchip.done")   goto good_state
-  if ($mystate == "ckchip.fail")   goto good_state
-  if ($mystate == "fixchip.new")   goto good_state
-  if ($mystate == "fixchip.done")  goto good_state
-  if ($mystate == "fixchip.fail")  goto good_state
-  if ($mystate == "md5sum.new")    goto good_state
-  if ($mystate == "md5sum.done")   goto good_state
-  if ($mystate == "md5sum.fail")   goto good_state
-  if ($mystate == "md5chk.new")    goto good_state
-  if ($mystate == "md5chk.done")   goto good_state
-  if ($mystate == "md5chk.fail")   goto good_state
+  if ($mystate == "ckchip.new")      goto good_state
+  if ($mystate == "ckchip.done")     goto good_state
+  if ($mystate == "ckchip.fail")     goto good_state
+  if ($mystate == "fixchip.new")     goto good_state
+  if ($mystate == "fixchip.done")    goto good_state
+  if ($mystate == "fixchip.fail")    goto good_state
+  if ($mystate == "md5sum.new")      goto good_state
+  if ($mystate == "md5sum.done")     goto good_state
+  if ($mystate == "md5sum.fail")     goto good_state
+  if ($mystate == "md5chk.new")      goto good_state
+  if ($mystate == "md5chk.done")     goto good_state
+  if ($mystate == "md5chk.fail")     goto good_state
+  if ($mystate == "burntool.new")    goto good_state
+  if ($mystate == "burntool.done")   goto good_state
+  if ($mystate == "burntool.fail")   goto good_state
 
   echo "ERROR: unknown mode $mystate"
