aboutsummaryrefslogtreecommitdiff
path: root/python/python3-pysdl2/python3-pysdl2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-pysdl2/python3-pysdl2.SlackBuild')
-rw-r--r--python/python3-pysdl2/python3-pysdl2.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/python3-pysdl2/python3-pysdl2.SlackBuild b/python/python3-pysdl2/python3-pysdl2.SlackBuild
index 29b0bda1f3e99..1da201f3e25df 100644
--- a/python/python3-pysdl2/python3-pysdl2.SlackBuild
+++ b/python/python3-pysdl2/python3-pysdl2.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=python3-pysdl2
SRCNAM=PySDL2
VERSION=${VERSION:-0.9.7}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}