aboutsummaryrefslogtreecommitdiff
path: root/python/python3-django/python3-django.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-django/python3-django.SlackBuild')
-rw-r--r--python/python3-django/python3-django.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/python3-django/python3-django.SlackBuild b/python/python3-django/python3-django.SlackBuild
index 9cd13e8d4b34..3baa79d73efd 100644
--- a/python/python3-django/python3-django.SlackBuild
+++ b/python/python3-django/python3-django.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=python3-django
SRCNAM=$(echo $PRGNAM | cut -c9-14)
VERSION=${VERSION:-3.1.4}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}