components/libxslt/patches/docbook-test.patch
changeset 1025 95d154bfbea4
equal deleted inserted replaced
1024:64f927492d58 1025:95d154bfbea4
       
     1 The new line at the end need to be added here to mitigated differences
       
     2 between Solaris and GNU grep commands. Where GNU grep will add new line
       
     3 at the end when used on file without it.
       
     4 
       
     5 --- libxslt-1.1.27/tests/docbook/Makefile.am	Fri Sep  7 00:49:41 2012
       
     6 +++ libxslt-1.1.27/tests/docbook/Makefile.am	Thu Oct 11 00:39:36 2012
       
     7 @@ -73,6 +73,7 @@
       
     8  	  xhtml=result/xhtml/`basename $$i .xml`.xhtml; \
       
     9  	  log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc --nonet \
       
    10  		$(srcdir)/xhtml/docbook.xsl $$i > $$out ; \
       
    11 +	  echo '' >> $$out ; \
       
    12  	  if [ -f $(srcdir)/$$xhtml ] ; then \
       
    13  	      grep -v id < $(srcdir)/$$xhtml > $$xhtml.noid ; \
       
    14  	      grep -v id < $$out > $$out.noid ; \