aboutsummaryrefslogtreecommitdiff
path: root/office/kbgoffice/kbgoffice.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/kbgoffice/kbgoffice.SlackBuild')
-rw-r--r--office/kbgoffice/kbgoffice.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/kbgoffice/kbgoffice.SlackBuild b/office/kbgoffice/kbgoffice.SlackBuild
index c4ef2085b7644..b2532d61ce239 100644
--- a/office/kbgoffice/kbgoffice.SlackBuild
+++ b/office/kbgoffice/kbgoffice.SlackBuild
@@ -5,6 +5,8 @@
# Modified by Martin A. Ivanov <tramni@abv.bg>
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kbgoffice
VERSION=${VERSION:-2.1}
BUILD=${BUILD:-1}
@@ -18,7 +20,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}