aboutsummaryrefslogtreecommitdiff
path: root/ham/klog
diff options
context:
space:
mode:
Diffstat (limited to 'ham/klog')
-rw-r--r--ham/klog/klog.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/ham/klog/klog.SlackBuild b/ham/klog/klog.SlackBuild
index 7c0ef8fb60518..9c47d8afeb8f0 100644
--- a/ham/klog/klog.SlackBuild
+++ b/ham/klog/klog.SlackBuild
@@ -20,6 +20,8 @@
# see fit. Or as I see fit. Or as I fit. Although
# that is unlikely, as I am rather tall.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=klog
VERSION=${VERSION:-0.9.8.1}
BUILD=${BUILD:-1}
@@ -33,7 +35,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}