aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-image-bmp/perl-image-bmp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-image-bmp/perl-image-bmp.SlackBuild')
-rw-r--r--perl/perl-image-bmp/perl-image-bmp.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/perl-image-bmp/perl-image-bmp.SlackBuild b/perl/perl-image-bmp/perl-image-bmp.SlackBuild
index e05514a434750..ded63f4655904 100644
--- a/perl/perl-image-bmp/perl-image-bmp.SlackBuild
+++ b/perl/perl-image-bmp/perl-image-bmp.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-image-bmp
VERSION=${VERSION:-1.19}
BUILD=${BUILD:-1}
@@ -13,7 +15,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}