aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-xml-fast/perl-xml-fast.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-xml-fast/perl-xml-fast.SlackBuild')
-rw-r--r--perl/perl-xml-fast/perl-xml-fast.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/perl-xml-fast/perl-xml-fast.SlackBuild b/perl/perl-xml-fast/perl-xml-fast.SlackBuild
index c034710c5df99..4296b3c7e1fd3 100644
--- a/perl/perl-xml-fast/perl-xml-fast.SlackBuild
+++ b/perl/perl-xml-fast/perl-xml-fast.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=perl-xml-fast
VERSION=${VERSION:-0.17}
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}