aboutsummaryrefslogtreecommitdiff
path: root/office/teapot/teapot.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/teapot/teapot.SlackBuild')
-rw-r--r--office/teapot/teapot.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/teapot/teapot.SlackBuild b/office/teapot/teapot.SlackBuild
index 5efe5fc0f8609..6ab8c88a9447f 100644
--- a/office/teapot/teapot.SlackBuild
+++ b/office/teapot/teapot.SlackBuild
@@ -35,6 +35,8 @@
# consequently qt5!), pull the prebuilt docs out of upstream's
# binary package.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=teapot
VERSION=${VERSION:-2.3.0}
BUILD=${BUILD:-2}
@@ -48,7 +50,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}