aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-config-general/perl-config-general.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-config-general/perl-config-general.SlackBuild')
-rw-r--r--perl/perl-config-general/perl-config-general.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/perl-config-general/perl-config-general.SlackBuild b/perl/perl-config-general/perl-config-general.SlackBuild
index 9accda215f71..dd7ecec244e6 100644
--- a/perl/perl-config-general/perl-config-general.SlackBuild
+++ b/perl/perl-config-general/perl-config-general.SlackBuild
@@ -28,6 +28,8 @@
# Adapted from perl-Config-General.SlackBuild, written by James Geboski,
# https://github.com/jgeboski/SlackBuilds/tree/master/perl/perl-Config-General
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=perl-config-general
SRCNAM=Config-General
VERSION=${VERSION:-2.61}
@@ -42,7 +44,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}