Index: trunk/ippTasks/detrend.process.pro
===================================================================
--- trunk/ippTasks/detrend.process.pro	(revision 13680)
+++ trunk/ippTasks/detrend.process.pro	(revision 13681)
@@ -161,5 +161,5 @@
     $outroot = $outpath/$EXP_TAG.detproc.$DET_ID
     $logfile = `ipp_filename.pl --filerule LOG.IMFILE --camera $CAMERA --class_id $CLASS_ID --basename $outroot`
-    if ($logfile == "") 
+    if ("$logfile" == "") 
       $logfile = $outroot.$CLASS_ID.log
     end
@@ -288,5 +288,5 @@
     $outroot = $outpath/$EXP_TAG.detproc.$DET_ID.$ITERATION
     $logfile = `ipp_filename.pl --filerule LOG.EXP --camera $CAMERA --class_id NONE --basename $outroot`
-    if ($logfile == "") 
+    if ("$logfile" == "") 
       $logfile = $outroot.log
     end
