IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 4, 2008, 2:18:44 PM (18 years ago)
Author:
eugene
Message:

new macro to test presence of required globals; change globals to upper case

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/chip.pro

    r16208 r16298  
     1## chip.pro : globals and support macros : -*- sh -*-
    12## this file contains the tasks for running the phase 0 stage
    23## these tasks use the book chipPendingImfile
    34
    4 if ($?network == 0)
    5   $network = 1
    6 end
    7 if ($?parallel == 0)
    8   $parallel = 0
    9 end
    10 if ($?VERBOSE == 0)
    11   echo "VERBOSE not defined: load pantasks.pro first"
    12   break
    13 end
    14 if ($?LOGDIR == 0)
    15   echo "LOGDIR not defined: load pantasks.pro first"
    16   break
    17 end
     5# test for required global variables
     6check.globals
    187
    198$LOGSUBDIR = $LOGDIR/chip
     
    5746  host         local
    5847
    59   periods      -poll $loadpoll
    60   periods      -exec $loadexec
     48  periods      -poll $LOADPOLL
     49  periods      -exec $LOADEXEC
    6150  periods      -timeout 30
    6251  npending     1
     
    11099    book npages chipPendingImfile -var N
    111100    if ($N == 0) break
    112     if ($network == 0) break
     101    if ($NETWORK == 0) break
    113102   
    114103    # look for new images in chipPendingImfile (pantaskState == INIT)
Note: See TracChangeset for help on using the changeset viewer.