[Buildroot] [PATCH 46/51] live555: add error handling to for loop
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Mon Nov 24 20:42:21 UTC 2014
Dear Baruch Siach,
On Mon, 24 Nov 2014 07:25:36 +0200, Baruch Siach wrote:
> > define LIVE555_INSTALL_STAGING_CMDS
> > for i in $(LIVE555_HEADERS_TO_INSTALL); do \
> > - mkdir -p $(STAGING_DIR)/usr/include/live/`dirname $$i`; \
> > - cp -a $(@D)/$$i/* $(STAGING_DIR)/usr/include/live/`dirname $$i`; \
> > + mkdir -p $(STAGING_DIR)/usr/include/live/`dirname $$i` && \
> > + cp -a $(@D)/$$i/* $(STAGING_DIR)/usr/include/live/`dirname $$i` || exit 1 \
> > done; \
> > for i in $(LIVE555_LIBS_TO_INSTALL); do \
> > - $(INSTALL) -D -m 0755 $(@D)/$$i $(STAGING_DIR)/usr/lib/`basename $$i`; \
> > + $(INSTALL) -D -m 0755 $(@D)/$$i $(STAGING_DIR)/usr/lib/`basename $$i` || exit 1 \
> > done
> > endef
>
> Both 'for' loop in LIVE555_INSTALL_STAGING_CMDS were removed in next.
Ah right, for this patch I'll have to rebase on next. Thanks for
noticing!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list