aboutsummaryrefslogtreecommitdiff
path: root/development/bashdb/bashdb.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/bashdb/bashdb.SlackBuild')
-rw-r--r--development/bashdb/bashdb.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/bashdb/bashdb.SlackBuild b/development/bashdb/bashdb.SlackBuild
index 2b21d2709083f..e4a8b88b748f5 100644
--- a/development/bashdb/bashdb.SlackBuild
+++ b/development/bashdb/bashdb.SlackBuild
@@ -26,6 +26,8 @@
# source directory for instructions if you wish to enable readarray support.
# readarray speeds up initial loading of large scripts.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bashdb
VERSION=${VERSION:-5.0_1.1.2}
ARCH=noarch
@@ -34,7 +36,6 @@ TAG=${TAG:-_SBo}
SRCVER=$(printf $VERSION | tr _ -)
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}