summaryrefslogtreecommitdiffstats
path: root/perl/perl-Test-Pod/perl-Test-Pod.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Test-Pod/perl-Test-Pod.SlackBuild')
-rw-r--r--perl/perl-Test-Pod/perl-Test-Pod.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/perl-Test-Pod/perl-Test-Pod.SlackBuild b/perl/perl-Test-Pod/perl-Test-Pod.SlackBuild
index 78572c9e5f..60efa76389 100644
--- a/perl/perl-Test-Pod/perl-Test-Pod.SlackBuild
+++ b/perl/perl-Test-Pod/perl-Test-Pod.SlackBuild
@@ -28,6 +28,8 @@
# Modified by the SlackBuilds.org project.
SRCNAM="Test-Pod"
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="perl-Test-Pod"
VERSION=${VERSION:-1.51}
BUILD=${BUILD:-1}
@@ -41,7 +43,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}