aboutsummaryrefslogtreecommitdiff
path: root/graphics/djview4/djview4.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/djview4/djview4.SlackBuild')
-rw-r--r--graphics/djview4/djview4.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/djview4/djview4.SlackBuild b/graphics/djview4/djview4.SlackBuild
index fedd6c3b3d4d..3701fb43ce99 100644
--- a/graphics/djview4/djview4.SlackBuild
+++ b/graphics/djview4/djview4.SlackBuild
@@ -26,6 +26,8 @@
# Thanks Jean-Pierre Moreau.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=djview4
VERSION=${VERSION:-4.10.6}
BUILD=${BUILD:-1}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}