Index: trunk/ippTasks/register.pro
===================================================================
--- trunk/ippTasks/register.pro	(revision 14579)
+++ trunk/ippTasks/register.pro	(revision 14681)
@@ -133,5 +133,5 @@
     # look for new images in regPendingImfile
     book getpage regPendingImfile 0 -var pageName -key pantaskState INIT
-    if ($pageName == NULL) break
+    if ("$pageName" == "NULL") break
 
     book setword regPendingImfile $pageName pantaskState RUN
@@ -247,5 +247,5 @@
     # look for new images in regPendingExp (pantaskState == INIT)
     book getpage regPendingExp 0 -var pageName -key pantaskState INIT
-    if ($pageName == NULL) break
+    if ("$pageName" == "NULL") break
 
     book setword regPendingExp $pageName pantaskState RUN
