Index: /branches/eam_branch_20080806/ippTasks/stack.pro
===================================================================
--- /branches/eam_branch_20080806/ippTasks/stack.pro	(revision 19074)
+++ /branches/eam_branch_20080806/ippTasks/stack.pro	(revision 19075)
@@ -7,7 +7,4 @@
 # test for required global variables
 check.globals
-
-$LOGSUBDIR = $LOGDIR/stack
-exec mkdir -p $LOGSUBDIR
 
 ### Initialise the books containing the tasks to do
@@ -75,5 +72,5 @@
 
   stdout NULL
-  stderr $LOGSUBDIR/stack.skycell.log
+  stderr $LOGDIR/stack.skycell.log
 
   task.exec
@@ -206,8 +203,8 @@
     else
       # save the DB name for the exit tasks
-      option $DB:$stack_cleanup_DB
-      command stacktool -pendingcleanuprun -limit 20 -dbname $DB:$stack_cleanup_DB
-      $stack_cleanup_DB ++
-      if ($stack_cleanup_DB >= $DB:n) set stack_cleanup_DB = 0
+      option $DB:$stackCleanup_DB
+      command stacktool -pendingcleanuprun -limit 20 -dbname $DB:$stackCleanup_DB
+      $stackCleanup_DB ++
+      if ($stackCleanup_DB >= $DB:n) set stackCleanup_DB = 0
     end
   end
