Changeset 447 for CMT/HEAD


Ignore:
Timestamp:
Feb 23, 2008, 12:01:16 PM (16 years ago)
Author:
rybkin
Message:

See C.L. 351

Location:
CMT/HEAD
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/ChangeLog

    r446 r447  
     12008-02-23    <rybkin@lal.in2p3.fr> 351
     2       
     3        * mgr/fragments/constituent_lock: Remove the lockfile on receipt of signal HUP, INT, TERM
     4        (1, 2, 15)
     5       
    162008-02-22    <rybkin@lal.in2p3.fr> 350
    27       
  • CMT/HEAD/mgr/fragments/constituent_lock

    r441 r447  
    5757
    5858${CONSTITUENT} :: $(${CONSTITUENT}_dependencies) $(cmt_local_${CONSTITUENT}_makefile)
    59         $(echo) "(constituents.make) Creating ${CONSTITUENT}${lock_suffix}"
    60         @${lock_command} ${CONSTITUENT}${lock_suffix}
    61         $(echo) "(constituents.make) Starting ${CONSTITUENT}"
    62         @$(MAKE) -f $(cmt_local_${CONSTITUENT}_makefile) cmt_lock_pid=$${cmt_lock_pid} ${CONSTITUENT}; \
    63         retval=$$?; ${unlock_command} ${CONSTITUENT}${lock_suffix}; exit $${retval}
     59        $(echo) "(constituents.make) Creating ${CONSTITUENT}${lock_suffix} and Starting ${CONSTITUENT}"
     60        @{ ${lock_command} ${CONSTITUENT}${lock_suffix} || exit $$?; } ; \
     61          retval=$$?; \
     62          trap '${unlock_command} ${CONSTITUENT}${lock_suffix}; exit $${retval}' 1 2 15; \
     63          $(MAKE) -f $(cmt_local_${CONSTITUENT}_makefile) cmt_lock_pid=$${cmt_lock_pid} ${CONSTITUENT}; \
     64          retval=$$?; ${unlock_command} ${CONSTITUENT}${lock_suffix}; exit $${retval}
    6465        $(echo) "(constituents.make) ${CONSTITUENT} done"
    6566
Note: See TracChangeset for help on using the changeset viewer.