aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-file-libmagic
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-file-libmagic')
-rw-r--r--perl/perl-file-libmagic/perl-file-libmagic.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/perl-file-libmagic/perl-file-libmagic.SlackBuild b/perl/perl-file-libmagic/perl-file-libmagic.SlackBuild
index bf8e81efb540d..8bc3ac30e0a90 100644
--- a/perl/perl-file-libmagic/perl-file-libmagic.SlackBuild
+++ b/perl/perl-file-libmagic/perl-file-libmagic.SlackBuild
@@ -8,6 +8,8 @@
# 20201025 bkw: update for v1.23.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=perl-file-libmagic
TARNAM=File-LibMagic
VERSION=${VERSION:-1.23}
@@ -22,7 +24,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}