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/camera.pro

    r14681 r14693  
    140140      $outpath = `ipp_datapath.pl $WORKDIR`
    141141    end
    142     $outpath = $outpath/$EXP_TAG
    143     $outroot = $outpath/$EXP_TAG.cm.$CAM_ID
     142    sprintf outpath "%s/%s" $outpath $EXP_TAG
     143    sprintf outroot "%s/%s.cm.%s" $outpath $EXP_TAG $CAM_ID
    144144    $logfile = `ipp_filename.pl --filerule LOG.EXP --camera $CAMERA --class_id NONE --basename $outroot`
    145145    if ("$logfile" == "")
Note: See TracChangeset for help on using the changeset viewer.