aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-Test-Trap/perl-Test-Trap.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Test-Trap/perl-Test-Trap.SlackBuild')
-rw-r--r--perl/perl-Test-Trap/perl-Test-Trap.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/perl-Test-Trap/perl-Test-Trap.SlackBuild b/perl/perl-Test-Trap/perl-Test-Trap.SlackBuild
index b39ec9abd7054..3d1ba810e4fa5 100644
--- a/perl/perl-Test-Trap/perl-Test-Trap.SlackBuild
+++ b/perl/perl-Test-Trap/perl-Test-Trap.SlackBuild
@@ -4,6 +4,8 @@
# Written by LEVAI Daniel <leva@ecentrum.hu>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=perl-Test-Trap
VERSION=${VERSION:-0.3.2}
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}