aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-data-dump
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-data-dump')
-rw-r--r--perl/perl-data-dump/perl-data-dump.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/perl-data-dump/perl-data-dump.SlackBuild b/perl/perl-data-dump/perl-data-dump.SlackBuild
index d7b9cfdd33b9..889a6efde294 100644
--- a/perl/perl-data-dump/perl-data-dump.SlackBuild
+++ b/perl/perl-data-dump/perl-data-dump.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-data-dump
VERSION=${VERSION:-1.23}
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}