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