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

Emil Velikov emil.l.velikov at gmail.com
Mon Oct 10 17:08:51 UTC 2016


On 10 October 2016 at 17:19, Eric Anholt <eric at anholt.net> 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,,' >> $@; \
I believe $(@F) should do the same thing. Can we use that one instead ?

Thanks
Emil


More information about the mesa-dev mailing list