summaryrefslogtreecommitdiff
path: root/packaging/docbook-xsl-stylesheets-dbtoepub.patch
blob: 30cbdedece783891c3f3dcb60f46771f43903d72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -ur docbook-xsl-1.76.1.orig/epub/bin/dbtoepub docbook-xsl-1.76.1/epub/bin/dbtoepub
--- docbook-xsl-1.76.1.orig/epub/bin/dbtoepub	2010-09-13 23:59:41.000000000 +0200
+++ docbook-xsl-1.76.1/epub/bin/dbtoepub	2011-04-12 09:43:49.000000000 +0200
@@ -17,7 +17,7 @@
 #                                        layer (imports epub/docbook.xsl).
 #     -v, --verbose                    Make output verbose.
 
-lib = File.expand_path(File.join(File.dirname(__FILE__), 'lib'))
+lib= '@@EPUBDIR@@/lib'
 $LOAD_PATH.unshift(lib) if File.exist?(lib)
 
 require 'fileutils'
Nur in docbook-xsl-1.76.1/epub/bin: dbtoepub~.