Mesa (master): intel: Fix bash-specific redirection.

Eric Anholt anholt at kemper.freedesktop.org
Mon Oct 10 16:50:47 UTC 2016


Module: Mesa
Branch: master
Commit: 0f99c0686e9f14238125b3b7b492d35eb2f4c023
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f99c0686e9f14238125b3b7b492d35eb2f4c023

Author: Eric Anholt <eric at anholt.net>
Date:   Mon Oct 10 09:18:19 2016 -0700

intel: Fix bash-specific redirection.

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

---

 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 8d7d402..160a411 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-commit mailing list