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

Lionel Landwerlin lionel.g.landwerlin at intel.com
Mon Oct 10 16:26:22 UTC 2016


Thanks, I think that explains a problem I have in another patch.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>

On 10/10/16 17:19, 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 "};" >> $@
>   




More information about the mesa-dev mailing list