aboutsummaryrefslogtreecommitdiff
path: root/libraries/matplotlib/matplotlib.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/matplotlib/matplotlib.SlackBuild')
-rw-r--r--libraries/matplotlib/matplotlib.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/matplotlib/matplotlib.SlackBuild b/libraries/matplotlib/matplotlib.SlackBuild
index 19725651f326..d514ae2f3af0 100644
--- a/libraries/matplotlib/matplotlib.SlackBuild
+++ b/libraries/matplotlib/matplotlib.SlackBuild
@@ -28,6 +28,8 @@
# Patch for libpng borrowed from Arch Linux (no longer needed, 2016.08.28, S.U.)
# Updated up to version 2.2.3 by Serban Udrea <S.Udrea@gsi.de>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=matplotlib
VERSION=${VERSION:-2.2.3}
BUILD=${BUILD:-2}
@@ -45,7 +47,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=${PKG:-$TMP/package-$PRGNAM}
OUTPUT=${OUTPUT:-/tmp}