aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-text-unaccent
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-text-unaccent')
-rw-r--r--perl/perl-text-unaccent/perl-text-unaccent.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/perl-text-unaccent/perl-text-unaccent.SlackBuild b/perl/perl-text-unaccent/perl-text-unaccent.SlackBuild
index bbabe1bb3c192..c65c4bed5b0fa 100644
--- a/perl/perl-text-unaccent/perl-text-unaccent.SlackBuild
+++ b/perl/perl-text-unaccent/perl-text-unaccent.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-text-unaccent
VERSION=${VERSION:-1.08}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}