summaryrefslogtreecommitdiff
path: root/epub/bin/dbtoepub
diff options
context:
space:
mode:
Diffstat (limited to 'epub/bin/dbtoepub')
-rwxr-xr-xepub/bin/dbtoepub2
1 files changed, 1 insertions, 1 deletions
diff --git a/epub/bin/dbtoepub b/epub/bin/dbtoepub
index 9976f81..7a8bd9b 100755
--- a/epub/bin/dbtoepub
+++ b/epub/bin/dbtoepub
@@ -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'