aboutsummaryrefslogtreecommitdiff
path: root/system/lirc/lirc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/lirc/lirc.SlackBuild')
-rw-r--r--system/lirc/lirc.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/lirc/lirc.SlackBuild b/system/lirc/lirc.SlackBuild
index 9e62bda0a57fe..e29032471821c 100644
--- a/system/lirc/lirc.SlackBuild
+++ b/system/lirc/lirc.SlackBuild
@@ -25,6 +25,8 @@
# Modified for 0.9.3a by Jeremy Hansen <jebrhansen+SBo -at- gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lirc
VERSION=${VERSION:-0.9.3a}
BUILD=${BUILD:-2}
@@ -41,7 +43,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}