summaryrefslogtreecommitdiffstats
path: root/games/roccat-tools/roccat-tools.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/roccat-tools/roccat-tools.SlackBuild')
-rw-r--r--games/roccat-tools/roccat-tools.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/roccat-tools/roccat-tools.SlackBuild b/games/roccat-tools/roccat-tools.SlackBuild
index 40ad0e7744..aeb3ce4f1f 100644
--- a/games/roccat-tools/roccat-tools.SlackBuild
+++ b/games/roccat-tools/roccat-tools.SlackBuild
@@ -28,6 +28,8 @@
# - i486 => i586.
# - use getent to check for group existence, instead of grepping /etc/group.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=roccat-tools
VERSION=${VERSION:-5.9.0}
BUILD=${BUILD:-1}
@@ -41,7 +43,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}