summaryrefslogtreecommitdiff
path: root/system/wmgtemp/wmgtemp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/wmgtemp/wmgtemp.SlackBuild')
-rw-r--r--system/wmgtemp/wmgtemp.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/wmgtemp/wmgtemp.SlackBuild b/system/wmgtemp/wmgtemp.SlackBuild
index 86132e435e..473b2b2b43 100644
--- a/system/wmgtemp/wmgtemp.SlackBuild
+++ b/system/wmgtemp/wmgtemp.SlackBuild
@@ -38,6 +38,8 @@
# - default to the correct .conf for Slack's lm_sensors 3.x
# - don't install INSTALL to doc dir
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wmgtemp
VERSION=${VERSION:-1.2}
BUILD=${BUILD:-1}
@@ -51,7 +53,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}