summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcollector18712017-03-19 16:55:06 +0100
committercollector18712017-03-19 16:55:06 +0100
commit584a9f07e8fa536a3b6daeaa3b4d3aa0d6b7e832 (patch)
tree7df4a2ebaf63245bfc6ee8d585ba621e4613908d
parent018a9ade8d532db7454ac3b90c42dd86e5905c1a (diff)
downloadaur-584a9f07e8fa536a3b6daeaa3b4d3aa0d6b7e832.tar.gz
changes
-rw-r--r--PKGBUILD2
-rw-r--r--epub2pdf.sh3
2 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 90b0f6b6c66..34ca440afb3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=epub2pdf
pkgver=0.5
-pkgrel=2
+pkgrel=1
pkgdesc="epub2pdf is a command-line tool that quickly generates PDF files from EPUB ebooks. It will run on any platform that supports JRE version 6 or later."
arch=('any')
url="http://epub2pdf.com"
diff --git a/epub2pdf.sh b/epub2pdf.sh
index 83b648fd114..40802c6ab1c 100644
--- a/epub2pdf.sh
+++ b/epub2pdf.sh
@@ -1,3 +1,4 @@
#!/bin/bash
+$1=$(pwd)
cd /usr/share/java/epub2pdf/
-/usr/sbin/java -jar /usr/share/java/epub2pdf/epub2pdf.jar $@
+/usr/sbin/java -jar /usr/share/java/epub2pdf/epub2pdf.jar $1$@