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

Eric Anholt eric at anholt.net
Mon Oct 10 16:19:16 UTC 2016


---

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 "};" >> $@
 
-- 
2.9.3



More information about the mesa-dev mailing list