aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-IO-Tty/perl-IO-Tty.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-IO-Tty/perl-IO-Tty.SlackBuild')
-rw-r--r--perl/perl-IO-Tty/perl-IO-Tty.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/perl-IO-Tty/perl-IO-Tty.SlackBuild b/perl/perl-IO-Tty/perl-IO-Tty.SlackBuild
index 675a7e3b74479..81ed320825c21 100644
--- a/perl/perl-IO-Tty/perl-IO-Tty.SlackBuild
+++ b/perl/perl-IO-Tty/perl-IO-Tty.SlackBuild
@@ -4,6 +4,8 @@
# Written by ruario
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=perl-IO-Tty
VERSION=${VERSION:-1.14}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}