[Mesa-dev] [PATCH] intel: Fix bash-specific redirection.

Chad Versace chad at kiwitree.net
Mon Oct 10 16:49:52 UTC 2016


On Mon 10 Oct 2016, Eric Anholt wrote:
> ---
> 
> I went to test-build my previous bash fix, and another area got broken
> in the meantime.
> 
>  src/intel/Makefile.genxml.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/intel/Makefile.genxml.am b/src/intel/Makefile.genxml.am
> index 8d7d40266383..160a41151795 100644
> --- a/src/intel/Makefile.genxml.am
> +++ b/src/intel/Makefile.genxml.am
> @@ -35,7 +35,7 @@ $(GENXML_GENERATED_FILES): genxml/gen_pack_header.py
>  %_xml.h:  %.xml Makefile
>  	$(MKDIR_GEN)
>  	$(AM_V_GEN) echo -n "static const uint8_t " > $@; \
> -	sed -e 's,_xml.h,,' <<< "`basename $@`_xml[] = {" >> $@; \
> +	echo "`basename $@`_xml[] = {" | sed -e 's,_xml.h,,' >> $@; \
>  	cat $< | $(XXD) -i >> $@; \
>  	echo "};" >> $@

Reviewed-by: Chad Versace <chadversary at chromium.org>



More information about the mesa-dev mailing list