Ignore:
Timestamp:
Jan 6, 2012, 3:57:31 PM (12 years ago)
Author:
rybkin
Message:

See C.L. 477

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/mgr/fragments/package

    r599 r600  
    3131endif
    3232ifdef NO_ALL_GROUPS
    33         +$(silent) cd $(${PACKAGE}MgrPath) && $(BCAST_CMD) $(${PACKAGE}OutErr)
     33        +$(silent) cd $(${PACKAGE}MgrPath) && \
     34          { $(BCAST_CMD) $(Package_failure_handler); } \
     35          $(${PACKAGE}OutErr)
    3436else
    3537        +$(silent) cd $(${PACKAGE}MgrPath) && \
    3638          for group in all $$($(cmtexe) show groups); do \
    3739            $(Cmt_actions_handler) \
    38             $(BCAST_CMD) $$group $(${PACKAGE}OutErr); BUILD_RESULT=$$? ; \
    39             $(Package_failure_handler) \
    40           done
     40            $(BCAST_CMD) $$group $(Package_failure_handler) ; \
     41          done $(${PACKAGE}OutErr)
    4142endif
    4243else
     
    5253endif
    5354ifdef NO_ALL_GROUPS
    54         +$(silent) cd $(${PACKAGE}MgrPath) && $(BCAST_CMD) $(${PACKAGE}OutErr)
     55        +$(silent) cd $(${PACKAGE}MgrPath) && \
     56          { $(BCAST_CMD) $(Package_failure_handler); } \
     57          $(${PACKAGE}OutErr)
    5558else
    5659        +$(silent) cd $(${PACKAGE}MgrPath) && \
    5760          for group in all $$($(cmtexe) show groups); do \
    5861            $(Cmt_actions_handler) \
    59             $(BCAST_CMD) $$group $(${PACKAGE}OutErr); BUILD_RESULT=$$? ; \
    60             $(Package_failure_handler) \
    61           done
     62            $(BCAST_CMD) $$group $(Package_failure_handler) ; \
     63          done $(${PACKAGE}OutErr)
    6264endif
    6365else
     
    9294          && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) $(patsubst ${PACKAGE}%,%,$@)] in $(${PACKAGE}MgrPath)" \
    9395          && echo "#--------------------------------------------------------------"
    94         +$(silent) cd $(${PACKAGE}MgrPath) && $(BCAST_CMD) $(patsubst ${PACKAGE}%,%,$@)
     96ifdef LOG_LOCATION
     97        @{ echo "#--------------------------------------------------------------" \
     98          && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) $(patsubst ${PACKAGE}%,%,$@)] in $(${PACKAGE}MgrPath)" \
     99          && echo "#--------------------------------------------------------------"; } $(${PACKAGE}OutErr)
     100endif
     101        +$(silent) cd $(${PACKAGE}MgrPath) && \
     102          { $(BCAST_CMD) $(patsubst ${PACKAGE}%,%,$@) $(Package_failure_handler); } \
     103          $(${PACKAGE}OutErr)
    95104else
    96105ifdef BCAST_GLOBAL
     
    98107          && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) $(patsubst ${PACKAGE}%,%,$@)] in $(${PACKAGE}MgrPath)" \
    99108          && echo "#--------------------------------------------------------------"
    100         +$(silent) cd $(${PACKAGE}MgrPath) && $(BCAST_CMD) $(patsubst ${PACKAGE}%,%,$@)
     109ifdef LOG_LOCATION
     110        @{ echo "#--------------------------------------------------------------" \
     111          && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) $(patsubst ${PACKAGE}%,%,$@)] in $(${PACKAGE}MgrPath)" \
     112          && echo "#--------------------------------------------------------------"; } $(${PACKAGE}OutErr)
     113endif
     114        +$(silent) cd $(${PACKAGE}MgrPath) && \
     115          { $(BCAST_CMD) $(patsubst ${PACKAGE}%,%,$@) $(Package_failure_handler); } \
     116          $(${PACKAGE}OutErr)
    101117else
    102118       
Note: See TracChangeset for help on using the changeset viewer.