IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 29, 2007, 3:15:26 PM (19 years ago)
Author:
eugene
Message:

use sprintf to avoid parsing names with numbers and dashes as math expressions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/detrend.reject.pro

    r14681 r14693  
    137137      $outroot = `ipp_datapath.pl $WORKDIR`
    138138    end
    139     $outroot = $outroot/$CAMERA.$DET_TYPE.$DET_ID
    140     $logfile = $outroot/$CAMERA.$DET_TYPE.$DET_ID.$ITERATION.detreject.log
     139    sprintf outroot "%s/%s.%s.%s" $outroot $CAMERA $DET_TYPE $DET_ID
     140    sprintf logfile "%s/%s.%s.%s.%s.detreject.log" $outroot $CAMERA $DET_TYPE $DET_ID $ITERATION
    141141    stdout $logfile
    142142    stderr $logfile
Note: See TracChangeset for help on using the changeset viewer.