summaryrefslogtreecommitdiff
path: root/system/xchm/xchm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/xchm/xchm.SlackBuild')
-rw-r--r--system/xchm/xchm.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/xchm/xchm.SlackBuild b/system/xchm/xchm.SlackBuild
index 962e5d859b..a5776c1176 100644
--- a/system/xchm/xchm.SlackBuild
+++ b/system/xchm/xchm.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for xchm
# Written by Michael Gehring <mg@ebfe.org>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xchm
VERSION=${VERSION:-1.23}
BUILD=${BUILD:-1}
@@ -16,7 +18,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}