aboutsummaryrefslogtreecommitdiff
path: root/system/tinycdb/tinycdb.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/tinycdb/tinycdb.SlackBuild')
-rw-r--r--system/tinycdb/tinycdb.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/tinycdb/tinycdb.SlackBuild b/system/tinycdb/tinycdb.SlackBuild
index e2066580d60b3..0e315a575f452 100644
--- a/system/tinycdb/tinycdb.SlackBuild
+++ b/system/tinycdb/tinycdb.SlackBuild
@@ -8,6 +8,8 @@
# I am not responsible for any consequences that follow from the
# incorrect use of this script.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tinycdb
VERSION=${VERSION:-0.78}
BUILD=${BUILD:-1}
@@ -21,7 +23,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}