summaryrefslogtreecommitdiffstats
path: root/desktop/cwm/cwm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/cwm/cwm.SlackBuild')
-rw-r--r--desktop/cwm/cwm.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/cwm/cwm.SlackBuild b/desktop/cwm/cwm.SlackBuild
index 3e158c2fc0..3e1471cb55 100644
--- a/desktop/cwm/cwm.SlackBuild
+++ b/desktop/cwm/cwm.SlackBuild
@@ -33,6 +33,8 @@
# 20180802 bkw: take over maintenance, no script changes.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cwm
VERSION=${VERSION:-6.7}
BUILD=${BUILD:-1}
@@ -46,7 +48,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}