summaryrefslogtreecommitdiff
path: root/textproc/ebook-tools/patches/patch-aa
blob: 62eeb6b7bbf6ebc8ad459d141b5aec10e7cc7e89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-aa,v 1.1.1.1 2009/01/10 22:20:23 wiz Exp $

--- src/tools/lit2epub.orig	2008-06-07 21:09:38.000000000 +0200
+++ src/tools/lit2epub
@@ -2,7 +2,7 @@
 # Uses clit to convert .lit files to valid epub
 # known issues: created metadata uses the old spec
  
-CLIT=$(which clit)
+CLIT=$(which convertlit)
 
 if [ "$?" != 0 ]; then
     echo "Can't find clit, please make sure it is in your path"
@@ -42,7 +42,7 @@ if [ "$?" != 0 ]; then
     fi
     
 else
-    TEMPDIR=$($MKTEMP -d)
+    TEMPDIR=$($MKTEMP -d -t lit2epub.tmp)
 fi
 
 WD=$(pwd)