Project Aon Git Repositories
/
project-aon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modify the version used for XSLT processing as Xalan 1 is deprecated
[project-aon.git]
/
common
/
scripts
/
gbtoepub.pl
diff --git
a/common/scripts/gbtoepub.pl
b/common/scripts/gbtoepub.pl
index
d8cb66f
..
731e084
100755
(executable)
--- 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 $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};
my $RM = qx{which rm};
my $CHMOD = qx{which chmod};