Index: /trunk/tools/eam/rawfix.20230221/Makefile
===================================================================
--- /trunk/tools/eam/rawfix.20230221/Makefile	(revision 42458)
+++ /trunk/tools/eam/rawfix.20230221/Makefile	(revision 42459)
@@ -12,5 +12,6 @@
 rawfix.fixchip.pt \
 rawfix.md5sum.pt \
-rawfix.md5chk.pt
+rawfix.md5chk.pt \
+rawfix.burntool.pt
 
 # interfaces with the rawfix database
@@ -28,5 +29,7 @@
 get_hosts_md5s.sh \
 get_md5s_instances.pl \
-check_md5s_dateobs.pl
+check_md5s_dateobs.pl \
+psvideostats.sh \
+ipp_apply_burntool_psvideo.pl
 
 # user tools, but not used by the tasks
Index: /trunk/tools/eam/rawfix.20230221/src/check.rawfix.sh
===================================================================
--- /trunk/tools/eam/rawfix.20230221/src/check.rawfix.sh	(revision 42458)
+++ /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"
