aboutsummaryrefslogtreecommitdiff
path: root/python/python2-djvulibre/python2-djvulibre.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python2-djvulibre/python2-djvulibre.SlackBuild')
-rw-r--r--python/python2-djvulibre/python2-djvulibre.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/python2-djvulibre/python2-djvulibre.SlackBuild b/python/python2-djvulibre/python2-djvulibre.SlackBuild
index f68a2aca3c7a..8e6ff9945c91 100644
--- a/python/python2-djvulibre/python2-djvulibre.SlackBuild
+++ b/python/python2-djvulibre/python2-djvulibre.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=python2-djvulibre
SRCNAM=python-djvulibre
VERSION=${VERSION:-0.8.5}
@@ -20,7 +22,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}