aboutsummaryrefslogtreecommitdiff
path: root/desktop/wmmon/wmmon.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/wmmon/wmmon.SlackBuild')
-rw-r--r--desktop/wmmon/wmmon.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/wmmon/wmmon.SlackBuild b/desktop/wmmon/wmmon.SlackBuild
index 3224c8c34d062..72bcafb112dba 100644
--- a/desktop/wmmon/wmmon.SlackBuild
+++ b/desktop/wmmon/wmmon.SlackBuild
@@ -21,6 +21,8 @@
# from trying to "upgrade" to 1.2b1.
# - actually mention windowmaker in the README (derp!)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wmmon
VERSION=${VERSION:-1.4}
BUILD=${BUILD:-1}
@@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}