IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 11, 2008, 3:42:57 PM (18 years ago)
Author:
eugene
Message:

added get.host.for.camera for test purposes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/pantasks.pro

    r18020 r18090  
    383383end
    384384
     385macro get.host.for.camera
     386  if ($0 != 3)
     387    echo "USAGE: get.host.for.camera (camera) (class_id)"
     388    break
     389  end
     390
     391  if (not($PARALLEL))
     392    echo local
     393    return
     394  end
     395
     396  # missing camera and/or chiphosts table results in host = NULL
     397  book getword chiphosts $1 $2 -var host
     398
     399  if ("$host" == "NULL")
     400    echo anyhost
     401  else
     402    echo $host
     403  end
     404end
     405
    385406macro check.globals
    386407  if ($?NETWORK == 0)
Note: See TracChangeset for help on using the changeset viewer.