IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 17, 2011, 1:38:26 PM (15 years ago)
Author:
bills
Message:

Allow the user of the distribution client to set the system to *not* extract
the files into the destination directories. This is controlled with two
pantasks macros set.no.extract and clear.no.extract

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/receive.pro

    r24749 r30674  
    105105$receive_Advance_DB = 0
    106106
     107# set this to skip extraction of tarfiles into their destination directories
     108$NO_EXTRACT = ""
     109macro set.no.extract
     110    $NO_EXTRACT = "--no-extract"
     111end
     112macro clear.no.extract
     113    $NO_EXTRACT = ""
     114end
     115macro show.no.extract
     116    echo $NO_EXTRACT
     117end
     118
    107119task           receive.source.load
    108120  host         local
     
    416428    host anyhost
    417429
    418     $run = receive_file.pl --file_id $FILE_ID --source $SOURCE --product $PRODUCT --fileset $FILESET --fileset_id $FILESET_ID --file $FILE --component $COMPONENT --bytes $BYTES --md5 $MD5SUM --workdir $WORKDIR --dirinfo $DIRINFO
     430    $run = receive_file.pl --file_id $FILE_ID --source $SOURCE --product $PRODUCT --fileset $FILESET --fileset_id $FILESET_ID --file $FILE --component $COMPONENT --bytes $BYTES --md5 $MD5SUM --workdir $WORKDIR --dirinfo $DIRINFO $NO_EXTRACT
    419431    add_standard_args run
    420432
Note: See TracChangeset for help on using the changeset viewer.