aboutsummaryrefslogtreecommitdiff
path: root/misc/dbview/dbview.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/dbview/dbview.SlackBuild')
-rw-r--r--misc/dbview/dbview.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/dbview/dbview.SlackBuild b/misc/dbview/dbview.SlackBuild
index d285c6dfb4afc..6c748ca1f11b0 100644
--- a/misc/dbview/dbview.SlackBuild
+++ b/misc/dbview/dbview.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for dbview
# Written by Oleg O. Chukaev <oleg.chukaev@mail.ru>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dbview
VERSION=${VERSION:-1.0.4}
BUILD=${BUILD:-1}
@@ -16,7 +18,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}