summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-08-03 02:17:18 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-13 07:22:55 +0700
commit4a02eadf6111dac1692ce6d58226d87895d7a0f2 (patch)
treed1e293501d649e3f2885b0d203a9e2413449d64e
parent0bdde9e5ab590756ca5f38efba8a0f5dd06ec1ab (diff)
downloadslackbuilds-4a02eadf6111dac1692ce6d58226d87895d7a0f2.tar.gz
office/convertlit: Fix lit2epub script.
-rw-r--r--office/convertlit/convertlit.SlackBuild2
-rw-r--r--office/convertlit/lit2epub2
2 files changed, 2 insertions, 2 deletions
diff --git a/office/convertlit/convertlit.SlackBuild b/office/convertlit/convertlit.SlackBuild
index 862757c455..5d9beb6d91 100644
--- a/office/convertlit/convertlit.SlackBuild
+++ b/office/convertlit/convertlit.SlackBuild
@@ -13,7 +13,7 @@
PRGNAM=convertlit
VERSION=${VERSION:-1.8}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
diff --git a/office/convertlit/lit2epub b/office/convertlit/lit2epub
index 3dca90e68b..5abf870267 100644
--- a/office/convertlit/lit2epub
+++ b/office/convertlit/lit2epub
@@ -53,7 +53,7 @@ if [ "$2" = "" ]; then
elif [ "$2" = "-" ]; then
OUTFILE="$OUTDIR/output.epub"
else
- OUTFILE="$( readlink -f "$OUTFILE" )"
+ OUTFILE="$( readlink -f "$2" )"
fi
# convertlit and zip both want to spew status messages to stdout,