aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-file-path-expand/perl-file-path-expand.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-file-path-expand/perl-file-path-expand.SlackBuild')
-rw-r--r--perl/perl-file-path-expand/perl-file-path-expand.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/perl-file-path-expand/perl-file-path-expand.SlackBuild b/perl/perl-file-path-expand/perl-file-path-expand.SlackBuild
index cc03a1e50b2fc..43c338a964c9f 100644
--- a/perl/perl-file-path-expand/perl-file-path-expand.SlackBuild
+++ b/perl/perl-file-path-expand/perl-file-path-expand.SlackBuild
@@ -4,6 +4,8 @@
# Written by Pablo Santamaria (pablosantamaria@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=perl-file-path-expand
SRCNAM=File-Path-Expand
VERSION=${VERSION:-1.02}
@@ -18,7 +20,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}