From d69b843fd5f6a1bf606b027b0613917497b84dc9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Javier=20Fern=C3=A1ndez-Sanguino?= Date: Tue, 9 May 2017 19:36:00 +0000 Subject: [PATCH 1/1] Modify the version used for XSLT processing as Xalan 1 is deprecated git-svn-id: https://projectaon.org/data/trunk@2597 f6f3e2d7-ff33-0410-aaf5-b4bee2cdac11 --- common/scripts/gbtoepub.pl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/scripts/gbtoepub.pl b/common/scripts/gbtoepub.pl index d8cb66f..731e084 100755 --- a/common/scripts/gbtoepub.pl +++ b/common/scripts/gbtoepub.pl @@ -17,8 +17,10 @@ my $TAR = qx{which tar}; my $ZIP = qx{which zip}; my $BZIP2 = qx{which bzip2}; my $JAVA = qx{which java}; -#my $XALAN_JAR = '/usr/share/java/xalan2.jar'; -my $XALAN_JAR = '/usr/share/ant/lib/xalan.jar'; +# Note: In Debian/Ubuntu the Xalan processor is provided in the package libxalan2-java +my $XALAN_JAR = '/usr/share/java/xalan2.jar'; +# Old version of Xalan processor (Xalan 1) +#my $XALAN_JAR = '/usr/share/ant/lib/xalan.jar'; my $RM = qx{which rm}; my $CHMOD = qx{which chmod}; -- 2.34.1