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

    r15352 r16298  
    1 
    2 ### Setups
    3 if ($?network == 0)
    4   $network = 1
    5 end
    6 if ($?parallel == 0)
    7   $parallel = 0
    8 end
    9 if ($?VERBOSE == 0)
    10   echo "VERBOSE not defined: load pantasks.pro first"
    11   break
    12 end
    13 if ($?LOGDIR == 0)
    14   echo "LOGDIR not defined: load pantasks.pro first"
    15   break
    16 end
     1## magic.pro : support for the streak removal : -*- sh -*-
     2
     3# test for required global variables
     4check.globals
    175
    186$LOGSUBDIR = $LOGDIR/magic
     
    7563  host         local
    7664
    77   periods      -poll $loadpoll
    78   periods      -exec $loadexec
     65  periods      -poll $LOADPOLL
     66  periods      -exec $LOADEXEC
    7967  periods      -timeout 30
    8068  npending     1
     
    128116  host         local
    129117
    130   periods      -poll $loadpoll
    131   periods      -exec $loadexec
     118  periods      -poll $LOADPOLL
     119  periods      -exec $LOADEXEC
    132120  periods      -timeout 30
    133121  npending     1
     
    181169  host         local
    182170
    183   periods      -poll $loadpoll
    184   periods      -exec $loadexec
     171  periods      -poll $LOADPOLL
     172  periods      -exec $LOADEXEC
    185173  periods      -timeout 30
    186174  npending     1
Note: See TracChangeset for help on using the changeset viewer.