aboutsummaryrefslogtreecommitdiff
path: root/misc/cwiid/cwiid.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/cwiid/cwiid.SlackBuild')
-rw-r--r--misc/cwiid/cwiid.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/cwiid/cwiid.SlackBuild b/misc/cwiid/cwiid.SlackBuild
index b3b15c35c6cc..58f3f1140144 100644
--- a/misc/cwiid/cwiid.SlackBuild
+++ b/misc/cwiid/cwiid.SlackBuild
@@ -18,6 +18,8 @@
# - Fixed permissions of config files and header
# - Added ir_fps and nunchuk_kb plugins
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cwiid
VERSION=${VERSION:-0.6.00+svn201}
BUILD=${BUILD:-3}
@@ -31,7 +33,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}