summaryrefslogtreecommitdiffstats
path: root/python/dukpy/dukpy.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/dukpy/dukpy.SlackBuild')
-rw-r--r--python/dukpy/dukpy.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/dukpy/dukpy.SlackBuild b/python/dukpy/dukpy.SlackBuild
index fbc386b215..263e875c05 100644
--- a/python/dukpy/dukpy.SlackBuild
+++ b/python/dukpy/dukpy.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dukpy
VERSION=${VERSION:-0.3}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}