aboutsummaryrefslogtreecommitdiff
path: root/python/esptool
diff options
context:
space:
mode:
Diffstat (limited to 'python/esptool')
-rw-r--r--python/esptool/esptool.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/esptool/esptool.SlackBuild b/python/esptool/esptool.SlackBuild
index dc65529e3ac0..0f884633f3c0 100644
--- a/python/esptool/esptool.SlackBuild
+++ b/python/esptool/esptool.SlackBuild
@@ -26,6 +26,8 @@
# note to self. github source tar.gz can miss out some directory contents,
# so use pypi.org/project/esptool download source tar.gz instead.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=esptool
VERSION=${VERSION:-3.0}
BUILD=${BUILD:-1}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}