aboutsummaryrefslogtreecommitdiff
path: root/python/python-xlib/python-xlib.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python-xlib/python-xlib.SlackBuild')
-rw-r--r--python/python-xlib/python-xlib.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/python-xlib/python-xlib.SlackBuild b/python/python-xlib/python-xlib.SlackBuild
index 79dda87b7cf57..f8f720430a760 100644
--- a/python/python-xlib/python-xlib.SlackBuild
+++ b/python/python-xlib/python-xlib.SlackBuild
@@ -5,6 +5,8 @@
# Written by Vasilis Papavasileiou <el03020 at mail dot ntua dot gr>
# Copyright 2018-2020 Hunter Sezen California, USA
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=python-xlib
VERSION=${VERSION:-0.26}
BUILD=${BUILD:-1}
@@ -18,7 +20,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}