aboutsummaryrefslogtreecommitdiff
path: root/office/evince/evince.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/evince/evince.SlackBuild')
-rw-r--r--office/evince/evince.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/evince/evince.SlackBuild b/office/evince/evince.SlackBuild
index ba4f0606c256c..7b1728f4f02c6 100644
--- a/office/evince/evince.SlackBuild
+++ b/office/evince/evince.SlackBuild
@@ -32,6 +32,8 @@
# Slack 14.2's rather outdated gtk+3 libraries. Actually it requires
# some fugly hackery to work, see shim.h for gory details and polemic.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=evince
VERSION=${VERSION:-3.34.2}
BUILD=${BUILD:-1}
@@ -45,7 +47,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}