aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-Cache-FastMmap/perl-Cache-FastMmap.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Cache-FastMmap/perl-Cache-FastMmap.SlackBuild')
-rw-r--r--perl/perl-Cache-FastMmap/perl-Cache-FastMmap.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/perl-Cache-FastMmap/perl-Cache-FastMmap.SlackBuild b/perl/perl-Cache-FastMmap/perl-Cache-FastMmap.SlackBuild
index bf367cc6fbd9..ef9da0558244 100644
--- a/perl/perl-Cache-FastMmap/perl-Cache-FastMmap.SlackBuild
+++ b/perl/perl-Cache-FastMmap/perl-Cache-FastMmap.SlackBuild
@@ -27,6 +27,8 @@
#
# Modified by the SlackBuilds.org project.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=perl-Cache-FastMmap
VERSION=${VERSION:-1.44}
BUILD=${BUILD:-1}
@@ -42,7 +44,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}