summaryrefslogtreecommitdiff
path: root/development/codespell
diff options
context:
space:
mode:
Diffstat (limited to 'development/codespell')
-rw-r--r--development/codespell/codespell.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/codespell/codespell.SlackBuild b/development/codespell/codespell.SlackBuild
index 49f55e1e3d..d46439d831 100644
--- a/development/codespell/codespell.SlackBuild
+++ b/development/codespell/codespell.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=codespell
VERSION=${VERSION:-1.17.1}
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}