aboutsummaryrefslogtreecommitdiff
path: root/python/thonny/thonny.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/thonny/thonny.SlackBuild')
-rw-r--r--python/thonny/thonny.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/thonny/thonny.SlackBuild b/python/thonny/thonny.SlackBuild
index 2b8ee6d163188..1cb15872c84c4 100644
--- a/python/thonny/thonny.SlackBuild
+++ b/python/thonny/thonny.SlackBuild
@@ -35,6 +35,8 @@
#3.3.6 25 Mar 2021. version bump.
#note. get download link from https://pypi.org/project/thonny/#files
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=thonny
VERSION=${VERSION:-3.3.6}
BUILD=${BUILD:-1}
@@ -48,7 +50,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}