Modify the version used for XSLT processing as Xalan 1 is deprecated
authorJavier Fernández-Sanguino <javier.fernandez-sanguino@projectaon.org>
Tue, 9 May 2017 19:36:00 +0000 (19:36 +0000)
committerJavier Fernández-Sanguino <javier.fernandez-sanguino@projectaon.org>
Tue, 9 May 2017 19:36:00 +0000 (19:36 +0000)
git-svn-id: https://projectaon.org/data/trunk@2597 f6f3e2d7-ff33-0410-aaf5-b4bee2cdac11

common/scripts/gbtoepub.pl

index d8cb66f..731e084 100755 (executable)
@@ -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};