aboutsummaryrefslogtreecommitdiff
path: root/office/calibre-bin/calibre-bin.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/calibre-bin/calibre-bin.SlackBuild')
-rw-r--r--office/calibre-bin/calibre-bin.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/calibre-bin/calibre-bin.SlackBuild b/office/calibre-bin/calibre-bin.SlackBuild
index fb155ec86230f..c0964a46816a4 100644
--- a/office/calibre-bin/calibre-bin.SlackBuild
+++ b/office/calibre-bin/calibre-bin.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=calibre-bin
VERSION=${VERSION:-5.15.0}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ case "$ARCH" in
arm*) ARCH=arm ;;
esac
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}