aboutsummaryrefslogtreecommitdiff
path: root/python/python2-django-legacy/python2-django-legacy.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python2-django-legacy/python2-django-legacy.SlackBuild')
-rw-r--r--python/python2-django-legacy/python2-django-legacy.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/python2-django-legacy/python2-django-legacy.SlackBuild b/python/python2-django-legacy/python2-django-legacy.SlackBuild
index 2b2d837a89183..7373482a3b3dd 100644
--- a/python/python2-django-legacy/python2-django-legacy.SlackBuild
+++ b/python/python2-django-legacy/python2-django-legacy.SlackBuild
@@ -26,6 +26,8 @@
#
# Maintained by David Melik <dchmelik@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=python2-django-legacy
SRCNAM=django
VERSION=${VERSION:-1.8.17}
@@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}