aboutsummaryrefslogtreecommitdiff
path: root/office/zathura
diff options
context:
space:
mode:
Diffstat (limited to 'office/zathura')
-rw-r--r--office/zathura/zathura.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/zathura/zathura.SlackBuild b/office/zathura/zathura.SlackBuild
index b0555bb9c51e..783763f4500b 100644
--- a/office/zathura/zathura.SlackBuild
+++ b/office/zathura/zathura.SlackBuild
@@ -78,6 +78,8 @@
# - Include generated man pages
# - fix homepage URL
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=zathura
VERSION=${VERSION:-0.3.8}
BUILD=${BUILD:-1}
@@ -91,7 +93,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}