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