IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 33634


Ignore:
Timestamp:
Mar 30, 2012, 2:33:31 PM (14 years ago)
Author:
eugene
Message:

pass -update to relastro_client when needed

Location:
branches/eam_branches/ipp-20111122/Ohana/src/relastro/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20111122/Ohana/src/relastro/src/args.c

    r33580 r33634  
    595595  }
    596596
    597   // do not hold the lock on the Image table
    598597  UPDATE = FALSE;
     598  if ((N = get_argument (argc, argv, "-update"))) {
     599    remove_argument (N, &argc, argv);
     600    UPDATE = TRUE;
     601  }
     602
     603  // do not hold the lock on the Image table for relastro_client -update-offsets
     604  if (FIT_TARGET == TARGET_UPDATE_OFFSETS) {
     605    UPDATE = FALSE;
     606  }
    599607
    600608  /* XXX update this */
  • branches/eam_branches/ipp-20111122/Ohana/src/relastro/src/relastro_objects.c

    r33600 r33634  
    138138    if (VERBOSE2)      { snprintf (tmpline, 1024, "%s -vv",             command);                    strcpy (command, tmpline); }
    139139    if (RESET)         { snprintf (tmpline, 1024, "%s -reset",          command);                    strcpy (command, tmpline); }
     140    if (UPDATE)        { snprintf (tmpline, 1024, "%s -update",         command);                    strcpy (command, tmpline); }
    140141
    141142    if (ImagSelect)    { snprintf (tmpline, 1024, "%s -instmag %f %f",  command, ImagMin, ImagMax);  strcpy (command, tmpline); }
Note: See TracChangeset for help on using the changeset viewer.