summaryrefslogtreecommitdiffstats
path: root/python/python2-Levenshtein/python2-Levenshtein.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python2-Levenshtein/python2-Levenshtein.SlackBuild')
-rw-r--r--python/python2-Levenshtein/python2-Levenshtein.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/python2-Levenshtein/python2-Levenshtein.SlackBuild b/python/python2-Levenshtein/python2-Levenshtein.SlackBuild
index c6be49646d..684de40f90 100644
--- a/python/python2-Levenshtein/python2-Levenshtein.SlackBuild
+++ b/python/python2-Levenshtein/python2-Levenshtein.SlackBuild
@@ -4,6 +4,8 @@
# Written by Jick Nan (jick.nan@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=python2-Levenshtein
SRCNAM=python-Levenshtein
VERSION=${VERSION:-0.10.2}
@@ -18,7 +20,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}