Author: wyoung
Date: Sun Jan 1 06:35:42 2017
New Revision: 2787
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2787&view=rev
Log:
The fop detection code in fo2pdf now uses type -p instead of a list of
hard-coded paths. On CentOS 7, FOP is distributed as a system package;
together with the merger of /usr/bin into /bin in this release, it means
we weren't finding /bin/fop, thus failing the userman.pdf build.
Modified:
trunk/doc/userman/fo2pdf
Modified: trunk/doc/userman/fo2pdf
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/doc/userman/fo2pdf?rev=2787&r1=2786&r2=2787&view=diff
==============================================================================
--- trunk/doc/userman/fo2pdf (original)
+++ trunk/doc/userman/fo2pdf Sun Jan 1 06:35:42 2017
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/bash
AHCMD=/usr/XSLFormatterV42/run.sh
-FOPCMD=`which /usr/local/fop/fop /usr/bin/fop | head -1 2> /dev/null`
+FOPCMD=$(type -p fop)
XEPCMD=/usr/local/xep/xep
FOFILE=$1
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits