aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-TimeDate/perl-TimeDate.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-TimeDate/perl-TimeDate.SlackBuild')
-rw-r--r--perl/perl-TimeDate/perl-TimeDate.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/perl-TimeDate/perl-TimeDate.SlackBuild b/perl/perl-TimeDate/perl-TimeDate.SlackBuild
index f8bc5ffde2659..3ad48d10b8e64 100644
--- a/perl/perl-TimeDate/perl-TimeDate.SlackBuild
+++ b/perl/perl-TimeDate/perl-TimeDate.SlackBuild
@@ -27,6 +27,8 @@
#
# Modified by the SlackBuilds.org project.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="perl-TimeDate"
VERSION=${VERSION:-2.30}
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}