summaryrefslogtreecommitdiffstats
path: root/perl/perl-GD
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-GD')
-rw-r--r--perl/perl-GD/perl-GD.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/perl-GD/perl-GD.SlackBuild b/perl/perl-GD/perl-GD.SlackBuild
index 861ab61c8e..4853bac639 100644
--- a/perl/perl-GD/perl-GD.SlackBuild
+++ b/perl/perl-GD/perl-GD.SlackBuild
@@ -14,6 +14,8 @@
# - fix build on 32-bit. Thanks to idlemoor for the bug report.
# - add FASTCGI option
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=perl-GD
VERSION=${VERSION:-2.73}
BUILD=${BUILD:-1}
@@ -27,7 +29,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}