From: Javier Fernández-Sanguino Date: Tue, 9 May 2017 19:36:00 +0000 (+0000) Subject: Modify the version used for XSLT processing as Xalan 1 is deprecated X-Git-Tag: 20180215~101 X-Git-Url: http://git.projectaon.org/?p=project-aon.git;a=commitdiff_plain;h=d69b843fd5f6a1bf606b027b0613917497b84dc9;hp=50c017499089bcccfdcc9fc83773180f74c19fa4 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 --- 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};