aboutsummaryrefslogtreecommitdiff
path: root/system/suckless-tools/suckless-tools.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/suckless-tools/suckless-tools.SlackBuild')
-rw-r--r--system/suckless-tools/suckless-tools.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/suckless-tools/suckless-tools.SlackBuild b/system/suckless-tools/suckless-tools.SlackBuild
index 18be88907544e..9b38f9bd12983 100644
--- a/system/suckless-tools/suckless-tools.SlackBuild
+++ b/system/suckless-tools/suckless-tools.SlackBuild
@@ -8,6 +8,8 @@
PROGS="lsw lsx sprop sselp ssid swarp wmname xssstate"
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=suckless-tools
VERSION=${VERSION:-20140317}
BUILD=${BUILD:-1}
@@ -21,7 +23,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}