aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-lirc-client/perl-lirc-client.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-lirc-client/perl-lirc-client.SlackBuild')
-rw-r--r--perl/perl-lirc-client/perl-lirc-client.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/perl-lirc-client/perl-lirc-client.SlackBuild b/perl/perl-lirc-client/perl-lirc-client.SlackBuild
index f696ba4edc7d5..d7cbc82bd8a60 100644
--- a/perl/perl-lirc-client/perl-lirc-client.SlackBuild
+++ b/perl/perl-lirc-client/perl-lirc-client.SlackBuild
@@ -4,6 +4,8 @@
# Written by Pablo Santamaria (pablosantamaria@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=perl-lirc-client
SRCNAM=Lirc-Client
VERSION=${VERSION:-2.02}
@@ -18,7 +20,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}