aboutsummaryrefslogtreecommitdiff
path: root/office/htmldoc/htmldoc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/htmldoc/htmldoc.SlackBuild')
-rw-r--r--office/htmldoc/htmldoc.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/htmldoc/htmldoc.SlackBuild b/office/htmldoc/htmldoc.SlackBuild
index 3657a7d2ec8ea..8badb70ba001d 100644
--- a/office/htmldoc/htmldoc.SlackBuild
+++ b/office/htmldoc/htmldoc.SlackBuild
@@ -39,6 +39,8 @@
# support was added. Misc updates and cleanups to install commands.
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=htmldoc
VERSION=${VERSION:-1.9.8}
BUILD=${BUILD:-1}
@@ -52,7 +54,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}